Skip to content

chore(deps): bump goreleaser/goreleaser-action from 5 to 6 (#38) #49

chore(deps): bump goreleaser/goreleaser-action from 5 to 6 (#38)

chore(deps): bump goreleaser/goreleaser-action from 5 to 6 (#38) #49

Workflow file for this run

name: test
on:
push:
branches: [ main ]
paths-ignore:
- 'docs/**'
- 'README.md'
- '.goreleaser.yaml'
pull_request:
branches: [ main ]
paths-ignore:
- 'docs/**'
- 'README.md'
- '.goreleaser.yaml'
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: unit test
run: go test -v -coverprofile=coverage.out ./...
- name: codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
fail_ci_if_error: true
files: coverage.out