generated from moul/golang-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
f55e24a
commit 1940b5c
Showing
6 changed files
with
21 additions
and
21 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
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
outputs: | ||
has-docker: ${{ steps.info.outputs.has-docker }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: '0' | ||
- uses: moul/repoman-action@v1 | ||
|
@@ -27,7 +27,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2.3.4 | ||
uses: actions/checkout@v3.0.0 | ||
|
||
- name: Build the container image | ||
uses: docker/[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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ jobs: | |
outputs: | ||
has-go-binary: ${{ steps.info.outputs.has-go-binary }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: '0' | ||
- uses: moul/repoman-action@v1 | ||
|
@@ -47,9 +47,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2.3.4 | ||
uses: actions/checkout@v3.0.0 | ||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.golang }} | ||
- name: Cache Go modules | ||
|
@@ -71,10 +71,10 @@ jobs: | |
matrix: | ||
golangci_lint: [v1.38] | ||
steps: | ||
- uses: actions/checkout@v2.3.4 | ||
- uses: actions/checkout@v3.0.0 | ||
- name: golangci-lint | ||
if: false # temporarily disabled | ||
uses: golangci/golangci-lint-action@v2.5.2 | ||
uses: golangci/golangci-lint-action@v3.1.0 | ||
with: | ||
version: ${{ matrix.golangci_lint }} | ||
#github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -88,9 +88,9 @@ jobs: | |
matrix: | ||
golang: [1.16.x] | ||
steps: | ||
- uses: actions/checkout@v2.3.4 | ||
- uses: actions/checkout@v3.0.0 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.golang }} | ||
- name: Run tests on Windows | ||
|
@@ -106,9 +106,9 @@ jobs: | |
OS: macos-latest | ||
GOLANG: ${{ matrix.golang }} | ||
steps: | ||
- uses: actions/checkout@v2.3.4 | ||
- uses: actions/checkout@v3.0.0 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.golang }} | ||
- uses: actions/[email protected] | ||
|
@@ -127,7 +127,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@v1.5.2 | ||
uses: codecov/codecov-action@v2.1.0 | ||
with: | ||
#token: ${{ secrets.CODECOV_TOKEN }} | ||
file: ./coverage.txt | ||
|
@@ -148,9 +148,9 @@ jobs: | |
OS: ubuntu-latest | ||
GOLANG: ${{ matrix.golang }} | ||
steps: | ||
- uses: actions/checkout@v2.3.4 | ||
- uses: actions/checkout@v3.0.0 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.golang }} | ||
- uses: actions/[email protected] | ||
|
@@ -169,7 +169,7 @@ jobs: | |
- name: Run tests on Unix-like operating systems | ||
run: make unittest | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v1.5.2 | ||
uses: codecov/codecov-action@v2.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 |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
name: Release-Notes Preview | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2.3.4 | ||
- uses: actions/checkout@v3.0.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.3.4 | ||
- uses: actions/checkout@v3.0.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