Skip to content

Commit

Permalink
Use Python and Go versions provided by cisagov/setup-env-github-action
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonnnj committed Nov 13, 2023
1 parent c0eed09 commit 9c92d98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- id: setup-python
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: ${{ steps.setup-env.outputs.python-version }}
# We need the Go version and Go cache location for the actions/cache step,
# so the Go installation must happen before that.
- id: setup-go
Expand All @@ -56,7 +56,7 @@ jobs:
# There is no expectation for actual Go code so we disable caching as
# it relies on the existence of a go.sum file.
cache: false
go-version: "1.20"
go-version: ${{ steps.setup-env.outputs.go-version }}
- name: Lookup Go cache directory
id: go-cache
run: |
Expand Down

0 comments on commit 9c92d98

Please sign in to comment.