Skip to content

Commit

Permalink
fix: fix GitHub Actions security issues pointed out by zizmor (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishb authored Jan 4, 2025
1 parent d7fc146 commit c759923
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-goreleaser-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: src/gabo/go.sum
cache: false # Disable caching to avoid cache poisoning

- name: Install Go Releaser
uses: goreleaser/goreleaser-action@v6
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-binary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: stable
cache-dependency-path: src/gabo/go.sum
cache: false # Disable caching to avoid cache poisoning

- name: Read gabo version name
id: read-version
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: stable
cache-dependency-path: src/gabo/go.sum
cache: false # Disable caching to avoid cache poisoning

# More assembly might be required: Docker logins, GPG, etc. It all depends
# on your needs.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: false # Disable caching to avoid cache poisoning
cache-dependency-path: src/gabo/go.sum

- name: Install Go Releaser
Expand Down

0 comments on commit c759923

Please sign in to comment.