Skip to content

Commit

Permalink
specify go version
Browse files Browse the repository at this point in the history
  • Loading branch information
christeredvartsen committed Feb 7, 2024
1 parent 4b081b1 commit 4062dcd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Find Go version
id: go_version
run: |
echo "GO_VERSION=$(grep golang .tool-versions | awk '{print $2}')" >> $GITHUB_OUTPUT
- uses: actions/setup-go@v5
with:
go-version: ${{ needs.go_version.outputs.go_version }}
go-version: ${{ steps.go_version.outputs.GO_VERSION }}
- uses: asdf-vm/actions/install@v3
- run: go test ./...
- run: helm lint --strict ./charts
Expand Down

0 comments on commit 4062dcd

Please sign in to comment.