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
2eb68f2
commit 14302e2
Showing
6 changed files
with
19 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,14 +29,14 @@ jobs: | |
docker-build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].2 | ||
- name: Build the Docker image | ||
run: docker build . --file Dockerfile | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
|
@@ -49,7 +49,7 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-go- | ||
- name: Run GoReleaser (Dry Run) | ||
uses: goreleaser/goreleaser-action@v2.8.1 | ||
uses: goreleaser/goreleaser-action@v2.9.1 | ||
with: | ||
version: latest | ||
args: release --rm-dist --snapshot --skip-publish | ||
|
@@ -58,7 +58,7 @@ jobs: | |
golangci-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].2 | ||
- name: golangci-lint | ||
uses: golangci/[email protected] | ||
with: | ||
|
@@ -76,7 +76,7 @@ jobs: | |
#- 1.14.7 | ||
- 1.15.2 | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].2 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
|
@@ -95,7 +95,7 @@ jobs: | |
OS: macos-latest | ||
GOLANG: ${{ matrix.golang }} | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].2 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
|
@@ -136,7 +136,7 @@ jobs: | |
OS: ubuntu-latest | ||
GOLANG: ${{ matrix.golang }} | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].2 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
|
@@ -175,7 +175,7 @@ jobs: | |
OS: ubuntu-latest | ||
GOLANG: ${{ matrix.golang }} | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].2 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
|
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/[email protected].0 | ||
- uses: actions/[email protected].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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
steps: | ||
- | ||
name: Checkout | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
- | ||
name: Unshallow | ||
run: git fetch --prune --unshallow | ||
|
@@ -39,7 +39,7 @@ jobs: | |
- | ||
name: Run GoReleaser | ||
if: steps.semantic.outputs.new-release-published == 'true' | ||
uses: goreleaser/goreleaser-action@v2.8.1 | ||
uses: goreleaser/goreleaser-action@v2.9.1 | ||
with: | ||
version: latest | ||
args: release --rm-dist | ||
|
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.