Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down