Skip to content

Commit 95a61f5

Browse files
authored
Merge pull request #157 from cisagov/improvement/get_more_versions_from_action
Use `cisagov/setup-env-github-action` to provide the Python and Go versions to use
2 parents d1a186d + 7169dcf commit 95a61f5

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)