Skip to content

Merge branch 'master' into micafer_dev #1228

Merge branch 'master' into micafer_dev

Merge branch 'master' into micafer_dev #1228

Workflow file for this run

name: tests
on:
[push, pull_request]
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Run tests
run: go test ./pkg/... -cover -coverprofile=profile.cov
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./...
- name: Report coverage
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: profile.cov
force-coverage-parser: go