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
f4cbfdf
commit 89888e6
Showing
3 changed files
with
13 additions
and
13 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@v3.0.2 | ||
- 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@v3.0.2 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.golang }} | ||
- name: Run tests on Windows | ||
|
@@ -65,12 +65,12 @@ jobs: | |
OS: macos-latest | ||
GOLANG: ${{ matrix.golang }} | ||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
- uses: actions/checkout@v3.0.2 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.golang }} | ||
- uses: actions/cache@v2.1.7 | ||
- uses: actions/cache@v3.0.2 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ matrix.golang }}-${{ hashFiles('**/go.sum') }} | ||
|
@@ -84,7 +84,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.0 | ||
with: | ||
#token: ${{ secrets.CODECOV_TOKEN }} | ||
file: ./coverage.txt | ||
|
@@ -106,12 +106,12 @@ jobs: | |
OS: ubuntu-latest | ||
GOLANG: ${{ matrix.golang }} | ||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
- uses: actions/checkout@v3.0.2 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.golang }} | ||
- uses: actions/cache@v2.1.7 | ||
- uses: actions/cache@v3.0.2 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ matrix.golang }}-${{ hashFiles('**/go.sum') }} | ||
|
@@ -125,7 +125,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.0 | ||
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
name: Release-Notes Preview | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
- uses: actions/checkout@v3.0.2 | ||
- run: | | ||
git fetch --prune --unshallow --tags | ||
- uses: snyk/[email protected] | ||
|
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