Skip to content

Commit

Permalink
fix: test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dav009 committed Sep 24, 2023
1 parent 97adf0a commit ebeb139
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/test.yml
Expand Up @@ -10,12 +10,21 @@ jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
go-version: [ '1.21.x' ]

steps:
- uses: actions/checkout@v3
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
with:
fetch-depth: 2

- uses: cachix/install-nix-action@v17

- name: Build binary
run: nix build
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test

0 comments on commit ebeb139

Please sign in to comment.