diff --git a/.github/workflows/build-shims.yml b/.github/workflows/build-shims.yml index 8964c95a..332d2d3d 100644 --- a/.github/workflows/build-shims.yml +++ b/.github/workflows/build-shims.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index daac9571..c7db6b62 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: node-version: 20 - uses: actions/setup-go@v5 with: - go-version: 1.22 + go-version: 1.23 - uses: golangci/golangci-lint-action@v6.1.1 - run: make download - run: make test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ace8a48..80786f15 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/docs/github-actions.md b/docs/github-actions.md index af896a2a..10431202 100644 --- a/docs/github-actions.md +++ b/docs/github-actions.md @@ -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: