Skip to content

Commit

Permalink
checkout before setup step in lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
cam-garrison committed Jun 11, 2024
1 parent db643ae commit a3f6341
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
env:
REPOSITORY: ${{ github.repository }}
steps:
- name: Set up Go env
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: actions/checkout@v4
with:
fetch-depth: 1
path: go/src/github.com/${{ env.REPOSITORY }}
- name: Set up Go env
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Set $GOPATH
run: |
echo "GOPATH=${{ github.workspace }}/go" >> $GITHUB_ENV
Expand Down

0 comments on commit a3f6341

Please sign in to comment.