Skip to content

Commit

Permalink
Add go ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Lun4m committed Nov 14, 2024
1 parent 954774b commit 93fbb62
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,21 @@ jobs:

- name: Run unit and integration tests
run: cargo test --no-fail-fast -- --nocapture --test-threads=1

- name: Setup Go 1.22.x
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
cache-dependency-path: migrations/go.sum

- name: Install Go dependencies
working-directory: migrations
run: go get

- name: Build migration package
working-directory: migrations
run: go build -v ./...

- name: Run Go tests
working-directory: migrations
run: go test -v ./...

0 comments on commit 93fbb62

Please sign in to comment.