Skip to content

Update application test file #21

Update application test file

Update application test file #21

Workflow file for this run

name: Audit
on:
push:
branches: [ "main" ]
jobs:
audit:
name: Run audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Create .envrc file
run: touch .envrc
- name: Run make audit
run: make ci/cd/audit
- name: Test
run: go test -tags auth ./... -v -coverprofile=coverage.out
- name: Update coverage report
uses: ncruces/go-coverage-report@v0
with:
coverage-file: /home/runner/work/refactoring-greenlight/refactoring-greenlight/coverage.out
report: true
chart: true
amend: true
reuse-go: true
continue-on-error: true