From 4967dc8e0320a833a72c1ad3b253f3d71fc481fa Mon Sep 17 00:00:00 2001 From: Christian Gregg Date: Wed, 21 Aug 2024 16:46:24 +0100 Subject: [PATCH] Update checkout --- .github/workflows/acceptance.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml index f6227ab..4662033 100644 --- a/.github/workflows/acceptance.yml +++ b/.github/workflows/acceptance.yml @@ -14,15 +14,19 @@ jobs: test: if: ${{ github.event_name == 'push' || github.event.label.name == 'run-acceptance-tests' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} name: Acceptance - container: heroku/heroku:24-build + container: + # See: actions/checkout#956 + # `24-build` uses the `heroku` user by default. + image: heroku/heroku:24-build + options: --user root runs-on: ubuntu-latest env: SLUGCMPLR_ACC: "true" SLUGCMPLR_ACC_HEROKU_PASS: ${{ secrets.SLUGCMPLR_HEROKU_API_KEY }} SLUGCMPLR_ACC_HEROKU_EMAIL: ${{ secrets.SLUGCMPLR_HEROKU_EMAIL }} steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: 1.17.x - run: go test -v -race -parallel=4 ./...