Skip to content

Commit

Permalink
chore: simplify github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
asdine committed Feb 18, 2024
1 parent 07c36f5 commit e7eb7c3
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,14 @@ jobs:
with:
go-version: 1.22

- name: Vendor
run: go work vendor

- name: Build
run: make

- name: Install go-acc
run: go install github.com/ory/go-acc@latest

- name: Test Chai
run: go-acc $(go list ./...) -- -mod vendor -race -timeout=2m
run: go test -race -timeout=2m ./...

- name: SQL tests
run: cd ./sqltests && go test -race -timeout=2m ./... && cd -

- name: Test Chai CLI
run: cd ./cmd/chai && go test -race ./... && cd -

- name: Upload Codecov
run: bash <(curl -s https://codecov.io/bash)

0 comments on commit e7eb7c3

Please sign in to comment.