Skip to content

Merge pull request #30 from vwhitteron/dependabot/go_modules/golang.o… #95

Merge pull request #30 from vwhitteron/dependabot/go_modules/golang.o…

Merge pull request #30 from vwhitteron/dependabot/go_modules/golang.o… #95

Workflow file for this run

name: Run Tests
on: [push, workflow_dispatch]
jobs:
qualitycheck:
name: Quality Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
- name: Lint code
uses: golangci/golangci-lint-action@v4
with:
version: "v1.56.2"
args: --verbose
- name: Audit code
run: |
make audit
test:
name: Test
needs: qualitycheck
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
- name: Run tests
run: make test
- name: Generate coverage report
run: make test/cover
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: vwhitteron/gt-telemetry