Skip to content

wasm

wasm #87

Workflow file for this run

name: lint
on: [pull_request, push]
jobs:
lint:
name: lint
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
- name: go mod tidy check
uses: katexochen/go-tidy-check@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.63.4
- id: govulncheck
uses: golang/govulncheck-action@v1
- name: generate test coverage
run: go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...
- name: check test coverage
uses: vladopajic/go-test-coverage@v2
with:
config: ./.github/testcoverage.yml