|
|
@ -17,16 +17,16 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- id: setup-env |
|
|
|
- id: setup-env |
|
|
|
uses: cisagov/setup-env-github-action@develop |
|
|
|
uses: cisagov/setup-env-github-action@develop |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- id: setup-python |
|
|
|
- id: setup-python |
|
|
|
uses: actions/setup-python@v2 |
|
|
|
uses: actions/setup-python@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
python-version: "3.10" |
|
|
|
python-version: "3.10" |
|
|
|
# We need the Go version and Go cache location for the actions/cache step, |
|
|
|
# We need the Go version and Go cache location for the actions/cache step, |
|
|
|
# so the Go installation must happen before that. |
|
|
|
# so the Go installation must happen before that. |
|
|
|
- uses: actions/setup-go@v2 |
|
|
|
- uses: actions/setup-go@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
go-version: '1.16' |
|
|
|
go-version: "1.16" |
|
|
|
- name: Store installed Go version |
|
|
|
- name: Store installed Go version |
|
|
|
id: go-version |
|
|
|
id: go-version |
|
|
|
run: | |
|
|
|
run: | |
|
|
@ -36,7 +36,7 @@ jobs: |
|
|
|
id: go-cache |
|
|
|
id: go-cache |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
echo "::set-output name=dir::$(go env GOCACHE)" |
|
|
|
echo "::set-output name=dir::$(go env GOCACHE)" |
|
|
|
- uses: actions/cache@v2 |
|
|
|
- uses: actions/cache@v3 |
|
|
|
env: |
|
|
|
env: |
|
|
|
BASE_CACHE_KEY: "${{ github.job }}-${{ runner.os }}-\ |
|
|
|
BASE_CACHE_KEY: "${{ github.job }}-${{ runner.os }}-\ |
|
|
|
py${{ steps.setup-python.outputs.python-version }}-\ |
|
|
|
py${{ steps.setup-python.outputs.python-version }}-\ |
|
|
|