Skip to content

Commit

Permalink
setup-go@v3+ adds GOBIN to the PATH, so we can use default paths
Browse files Browse the repository at this point in the history
  • Loading branch information
kd7lxl committed Jan 11, 2024
1 parent 1ad3a46 commit 91593db
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,14 @@ jobs:
env:
HELM_VERSION: v3.4.2
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: azure/[email protected]
with:
version: ${{ env.HELM_VERSION }}
- name: Checkout code
uses: actions/checkout@v4
with:
path: ./src/github.com/${{ github.repository }}
- run: go version
- run: echo ${{ github.workspace }}/bin >> $GITHUB_PATH
- name: Test
working-directory: ./src/github.com/${{ github.repository }}
env:
GOPATH: ${{ github.workspace }}
run: |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
Expand Down

0 comments on commit 91593db

Please sign in to comment.