mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-30 04:50:45 +02:00
chore: minor workflows improvements
This commit is contained in:
parent
14884f52c9
commit
6aa3f5a724
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -24,10 +24,17 @@ permissions:
|
||||
jobs:
|
||||
govulncheck:
|
||||
uses: caarlos0/meta/.github/workflows/govulncheck.yml@main
|
||||
with:
|
||||
cache: true
|
||||
go-version: '>=1.19.1'
|
||||
semgrep:
|
||||
uses: caarlos0/meta/.github/workflows/semgrep.yml@main
|
||||
ruleguard:
|
||||
uses: caarlos0/meta/.github/workflows/ruleguard.yml@main
|
||||
with:
|
||||
cache: true
|
||||
go-version: '>=1.19.1'
|
||||
args: '-disable largeloopcopy'
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
@ -51,7 +58,7 @@ jobs:
|
||||
mkdir -p $HOME/.cache/snapcraft/stage-packages
|
||||
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3
|
||||
with:
|
||||
go-version: '1.19'
|
||||
go-version: '>=1.19.1'
|
||||
cache: true
|
||||
- uses: sigstore/cosign-installer@v2.6.0
|
||||
- uses: anchore/sbom-action/download-syft@v0.12.0
|
||||
|
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3
|
||||
with:
|
||||
go-version: 1.19
|
||||
go-version: '>=1.19.1'
|
||||
- run: task docs:build
|
||||
- uses: wjdp/htmltest-action@09118714cd26bef56bd3d0819e4f9b1dce6f60a9 # master
|
||||
with:
|
||||
|
2
.github/workflows/generate.yml
vendored
2
.github/workflows/generate.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
token: ${{ secrets.GH_PAT }}
|
||||
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3
|
||||
with:
|
||||
go-version: 1.19
|
||||
go-version: '>=1.19.1'
|
||||
- uses: arduino/setup-task@ca745e18916de727f841ec824ac20a615f1cddea # v1
|
||||
- run: task docs:generate
|
||||
- run: task schema:generate
|
||||
|
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3
|
||||
with:
|
||||
go-version: ~1.19
|
||||
go-version: '>=1.19.1'
|
||||
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc # v3
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -64,7 +64,7 @@ jobs:
|
||||
mkdir -p $HOME/.cache/snapcraft/stage-packages
|
||||
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3
|
||||
with:
|
||||
go-version: '1.19'
|
||||
go-version: '>=1.19.1'
|
||||
cache: true
|
||||
- uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3
|
||||
with:
|
||||
|
@ -36,7 +36,7 @@ jobs:
|
||||
- run: git fetch --force --tags
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.19
|
||||
go-version: '>=1.19.1'
|
||||
cache: true
|
||||
- uses: goreleaser/goreleaser-action@v2
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user