Skip to content

workflow: go check

workflow: go check #2

Workflow file for this run

name: Go Check
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '^1.21'
- name: Install dependencies
run: go mod tidy
- name: Lint
run: golangci-lint run ./...
- name: Test
run: go test ./...