Skip to content

Commit

Permalink
workflow: go check
Browse files Browse the repository at this point in the history
  • Loading branch information
danl5 committed May 10, 2024
1 parent 2601e19 commit 5f09a6a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/go-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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 ./...

0 comments on commit 5f09a6a

Please sign in to comment.