generated from moul/golang-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e7492db
commit 6adda37
Showing
4 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ jobs: | |
golangci-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
- uses: actions/checkout@v4.1.0 | ||
- name: golangci-lint | ||
uses: golangci/[email protected] | ||
with: | ||
|
@@ -46,9 +46,9 @@ jobs: | |
golang: | ||
- 1.16.x | ||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
- uses: actions/checkout@v4.1.0 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ matrix.golang }} | ||
- name: Run tests on Windows | ||
|
@@ -65,9 +65,9 @@ jobs: | |
OS: macos-latest | ||
GOLANG: ${{ matrix.golang }} | ||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
- uses: actions/checkout@v4.1.0 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ matrix.golang }} | ||
- uses: actions/[email protected] | ||
|
@@ -86,7 +86,7 @@ jobs: | |
git --no-pager diff go.mod go.sum | ||
git --no-pager diff --quiet go.mod go.sum | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v2.1.0 | ||
uses: codecov/codecov-action@v3.1.4 | ||
with: | ||
#token: ${{ secrets.CODECOV_TOKEN }} | ||
file: ./coverage.txt | ||
|
@@ -107,9 +107,9 @@ jobs: | |
OS: ubuntu-latest | ||
GOLANG: ${{ matrix.golang }} | ||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
- uses: actions/checkout@v4.1.0 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ matrix.golang }} | ||
- uses: actions/[email protected] | ||
|
@@ -128,7 +128,7 @@ jobs: | |
- name: Run tests on Unix-like operating systems | ||
run: make unittest | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v2.1.0 | ||
uses: codecov/codecov-action@v3.1.4 | ||
with: | ||
#token: ${{ secrets.CODECOV_TOKEN }} | ||
file: ./coverage.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
name: Release-Notes Preview | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
- uses: actions/checkout@v4.1.0 | ||
- run: | | ||
git fetch --prune --unshallow --tags | ||
- uses: snyk/[email protected] | ||
|
@@ -26,7 +26,7 @@ jobs: | |
name: Documentation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
- uses: actions/checkout@v4.1.0 | ||
with: | ||
depth: 1 | ||
- uses: nosborn/github-action-markdown-cli@master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters