Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/update-vendor-hash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,20 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ steps.app-token.outputs.token }}

- uses: actions/setup-go@v6
with:
go-version-file: go.mod

- uses: DeterminateSystems/nix-installer-action@v22
with:
summarize: false
- uses: DeterminateSystems/magic-nix-cache-action@v13

- name: Sync Go workspace
run: go work sync
- name: Tidy Go modules
env:
GOWORK: 'off'
run: |
set -euo pipefail
# https://github.com/golang/go/issues/63901
for dir in bindings/go/scip . reprolang; do
(cd "$dir" && nix develop --command go mod tidy)
done

- name: Recompute vendor hashes with nix-update
run: |
Expand Down
Loading