Skip to content

Commit

Permalink
pipelien refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
incu6us committed Nov 21, 2024
1 parent 3423e46 commit 606bb08
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 606bb08

Please sign in to comment.