Skip to content

Commit

Permalink
CI fixes backport v0.3 (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohitrajak1807 authored Jan 6, 2023
1 parent 9a60a5d commit f0b1481
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
go-version: 1.19
check-latest: true
cache: true
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- 'v0.3*'
jobs:
goreleaser:
permissions:
contents: write
environment: E2E Tests and Release
runs-on: ubuntu-latest
steps:
Expand All @@ -18,7 +20,9 @@ jobs:
name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.3
token: ${{ secrets.GITHUB_TOKEN }}
go-version: 1.19
check-latest: true
-
name: Cache go modules
uses: actions/cache@v3
Expand Down Expand Up @@ -49,6 +53,6 @@ jobs:
args: release --rm-dist
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

0 comments on commit f0b1481

Please sign in to comment.