Skip to content

Commit

Permalink
bump go version
Browse files Browse the repository at this point in the history
  • Loading branch information
frantjc committed Jan 4, 2025
1 parent f32a3f3 commit ca5df1b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-shims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: 1.23
- uses: crazy-max/ghaction-upx@v3
with:
install-only: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
node-version: 20
- uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: 1.23
- uses: golangci/[email protected]
- run: make download
- run: make test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: 1.23
cache: true
- uses: crazy-max/ghaction-upx@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions docs/github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: 1.23
```
Rather, it is intended to run an Action from within a workflow, like so:
```sh
forge use actions/setup-go@v5 --with go-version=1.22
forge use actions/setup-go@v5 --with go-version=1.23
```

When running an Action, Forge mounts the current working directory to the Action's `GITHUB_WORKSPACE` as well as directories respecting the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) to the Action's `RUNNER_TOOLCACHE` and `RUNNER_TEMP`. So, after the above command is ran, if it succeeds, `go` should be installed somewhere in `XDG_CACHE_HOME/forge/runner/toolcache`. This can be found more easily by running:
Expand Down

0 comments on commit ca5df1b

Please sign in to comment.