Skip to content

Commit

Permalink
ci: uses flake
Browse files Browse the repository at this point in the history
  • Loading branch information
dav009 committed Sep 29, 2023
1 parent b67eecb commit 441f2ee
Showing 1 changed file with 5 additions and 24 deletions.
29 changes: 5 additions & 24 deletions .github/workflows/test.yml
Expand Up @@ -10,31 +10,12 @@ 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:
go-version: ${{ matrix.go-version }}

- name: Display Go version
run: go version

- name: Install dependencies
run: go get .

- name: Build
run: go build -v ./...
env:
CC: clang
CXX: clang++
fetch-depth: 2

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

- name: Test with the Go CLI
run: go test
env:
CC: clang
CXX: clang++
- name: Build binary
run: nix build

0 comments on commit 441f2ee

Please sign in to comment.