Skip to content

Commit 7169dcf

Browse files
committed
Use Python and Go versions provided by cisagov/setup-env-github-action
1 parent d1a186d commit 7169dcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- id: setup-python
6060
uses: actions/setup-python@v5
6161
with:
62-
python-version: "3.11"
62+
python-version: ${{ steps.setup-env.outputs.python-version }}
6363
# We need the Go version and Go cache location for the actions/cache step,
6464
# so the Go installation must happen before that.
6565
- id: setup-go
@@ -68,7 +68,7 @@ jobs:
6868
# There is no expectation for actual Go code so we disable caching as
6969
# it relies on the existence of a go.sum file.
7070
cache: false
71-
go-version: "1.20"
71+
go-version: ${{ steps.setup-env.outputs.go-version }}
7272
- id: go-cache
7373
name: Lookup Go cache directory
7474
run: |

0 commit comments

Comments
 (0)