1
0
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:
Carlos A Becker 2022-09-22 16:00:05 -03:00
parent 14884f52c9
commit 6aa3f5a724
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
6 changed files with 13 additions and 6 deletions

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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: