Skip to content

Merge pull request #32 from qba73/dependabot/go_modules/k8s.io/metric… #152

Merge pull request #32 from qba73/dependabot/go_modules/k8s.io/metric…

Merge pull request #32 from qba73/dependabot/go_modules/k8s.io/metric… #152

Workflow file for this run

# Based on https://github.com/mvdan/github-actions-golang
on: [push, pull_request, workflow_dispatch]
name: Tests
jobs:
test:
strategy:
matrix:
go-version: ['stable']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- run: go test ./...
gocritic:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
- uses: actions/checkout@v3
- run: |
go install github.com/go-critic/go-critic/cmd/gocritic@latest
gocritic check .