Skip to content

Commit

Permalink
feat: improve CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
aldoborrero committed Oct 27, 2023
1 parent b401d12 commit 27ee478
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Nix
uses: aldoborrero/use-nix-action@v2
- uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}

- name: Unit tests
run: go test ./...
- name: Flake check
run: nix flake check

- name: Build ethw
run: go build -v -o bin/ethw cmd/ethw.go
run: nix build .#ethw

0 comments on commit 27ee478

Please sign in to comment.