Skip to content

Commit

Permalink
ci: use hashicorp/setup-golang (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoenig authored Nov 20, 2022
1 parent f0b7e0a commit e54751d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: Run CI Tests
on: [push]
env:
GO_VERSION: 1.18.4
jobs:
run-tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: hashicorp/setup-golang@v1
with:
go-version: ${{env.GO_VERSION}}
version-file: go.mod
- name: Run Go Vet
run: |
go vet ./...
Expand Down

0 comments on commit e54751d

Please sign in to comment.