Skip to content

chore(deps): bump anchore/scan-action from 5 to 6 (#26) #52

chore(deps): bump anchore/scan-action from 5 to 6 (#26)

chore(deps): bump anchore/scan-action from 5 to 6 (#26) #52

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: CI=true go test -v -coverprofile=coverage.out ./...
- name: codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
fail_ci_if_error: true
files: coverage.out