-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
e6431f7
commit 44d5aa0
Showing
7 changed files
with
23 additions
and
24 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 |
---|---|---|
|
@@ -30,12 +30,12 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
- name: Build the container image | ||
uses: docker/[email protected].0 | ||
uses: docker/[email protected].1 | ||
with: | ||
repository: golang-repo-template | ||
|
||
- name: Push to GitHub Packages | ||
uses: docker/[email protected].0 | ||
uses: docker/[email protected].1 | ||
if: github.event_name == 'release' || github.event_name == 'push' | ||
with: | ||
username: ${{ github.actor }} | ||
|
@@ -66,7 +66,7 @@ jobs: | |
if: | | ||
(github.event_name == 'release' || github.event_name == 'push') && | ||
contains(steps.check_dockerhub_credentials.outputs.missingsecrets, 'no') | ||
uses: docker/[email protected].0 | ||
uses: docker/[email protected].1 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
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 |
---|---|---|
|
@@ -57,13 +57,13 @@ jobs: | |
with: | ||
go-version: ${{ matrix.golang }} | ||
- name: Cache Go modules | ||
uses: actions/cache@v3.2.6 | ||
uses: actions/cache@v3.3.1 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }} | ||
restore-keys: ${{ runner.os }}-go-${{ matrix.golang }}-v1- | ||
- name: Run GoReleaser (Dry Run) | ||
uses: goreleaser/goreleaser-action@v3.0.0 | ||
uses: goreleaser/goreleaser-action@v3.2.0 | ||
with: | ||
version: latest | ||
args: release --rm-dist --snapshot --skip-publish | ||
|
@@ -119,7 +119,7 @@ jobs: | |
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.golang }} | ||
- uses: actions/cache@v3.2.6 | ||
- uses: actions/cache@v3.3.1 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }} | ||
|
@@ -135,7 +135,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/[email protected].1 | ||
uses: codecov/[email protected].4 | ||
with: | ||
#token: ${{ secrets.CODECOV_TOKEN }} | ||
file: ./coverage.txt | ||
|
@@ -160,7 +160,7 @@ jobs: | |
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.golang }} | ||
- uses: actions/cache@v3.2.6 | ||
- uses: actions/cache@v3.3.1 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }} | ||
|
@@ -176,7 +176,7 @@ jobs: | |
- name: Run tests on Unix-like operating systems | ||
run: make unittest | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected].1 | ||
uses: codecov/[email protected].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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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