Skip to content

Commit

Permalink
pipelien refactor (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
incu6us authored Nov 21, 2024
1 parent 40541f0 commit 45dd127
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@ jobs:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
go-version: [ 1.21.x, oldstable, stable ]

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}


- name: Get dependencies
run: |
go mod download
go get github.com/go-pg/pg/v9
- name: Test
run: go test -race -cover -coverprofile=coverage -covermode=atomic ./...
- name: Build
run: go build -v .

coverage:
name: Coverage
runs-on: ubuntu-latest
needs: build
steps:
- name: Coverage
uses: codecov/codecov-action@v3
with:
file: ./coverage
flags: unittests
fail_ci_if_error: false
verbose: true

- name: Build
run: go build -v .

0 comments on commit 45dd127

Please sign in to comment.