diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a6560b..4f27b51 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,10 +4,14 @@ jobs: check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@v5 + - uses: actions/setup-go@v6 with: go-version: "1.22" + # Nothing to cache: sesh has no dependencies, so there is no go.sum + # for the module cache to key on. Left on, every run attempts and + # fails a restore, and the warning trains you to skim annotations. + cache: false - name: gofmt run: test -z "$(gofmt -l .)" || { gofmt -l .; exit 1; } - name: vet diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 4110b42..7e45752 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -97,10 +97,10 @@ jobs: echo "assembled .sesh/:"; find .sesh -type f | sort - name: Install Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: "1.22" - cache: true + cache: false # no dependencies, so no go.sum to key a module cache on - name: Install sesh (checksum-verified, via the repo's own installer) # install.sh downloads the rolling release, verifies its SHA-256 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6462c06..2a68105 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,10 +8,11 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@v5 + - uses: actions/setup-go@v6 with: go-version: "1.22" + cache: false # no dependencies, so no go.sum to key a module cache on - name: build run: | mkdir -p dist