Skip to content

Commit

Permalink
Bump action versions in CI and release pipeline manifests.
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Jacobs <aaron.jacobs@rstudio.com>
  • Loading branch information
atheriel committed Mar 19, 2024
1 parent df476f0 commit b8a07e2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.17
go-version: '1.22'
check-latest: true
- uses: actions/cache@v3
with:
path: |
Expand Down
19 changes: 8 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,28 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.17
go-version: '1.22'
check-latest: true
- name: Install go-license-detector
run: |
go install go.elastic.co/go-licence-detector@latest
- name: Install Cosign
uses: sigstore/cosign-installer@main
with:
cosign-release: 'v1.6.0'
- uses: aws-actions/configure-aws-credentials@v1
uses: sigstore/cosign-installer@v3
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
role-session-name: gha-rskey
aws-region: us-east-1
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COSIGN_EXPERIMENTAL: 1

0 comments on commit b8a07e2

Please sign in to comment.