Skip to content

Update legacy errors, middleware and logger package #12

Update legacy errors, middleware and logger package

Update legacy errors, middleware and logger package #12

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