Skip to content

Commit

Permalink
Add checkout to CI GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenwindflower committed Apr 2, 2024
1 parent e194363 commit b4cd3c2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ jobs:
ci:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Go environment
uses: actions/[email protected]
with:
go-version: ">=1.22.1"
- name: Lint code
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.57.2
golangci-lint run
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.54
- name: Run tests
run: go test

0 comments on commit b4cd3c2

Please sign in to comment.