Skip to content

Commit

Permalink
chore: check out PR/branch code every time in acctest workflow (#385)
Browse files Browse the repository at this point in the history
In an earlier PR, I missed that the acctest workflow checks out code
_both_ in the build job and in the test job. I updated the build job to
check out PR code, but the test job was still checking out code from the
base branch.
  • Loading branch information
ctreatma authored Sep 18, 2023
2 parents 4bed691 + c0799c9 commit b891584
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/acctest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ jobs:
steps:

- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}

- name: Set up Go
uses: actions/setup-go@v4
Expand Down

0 comments on commit b891584

Please sign in to comment.