Skip to content

Commit

Permalink
add test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
chrnorm committed Apr 3, 2024
1 parent 9e2d6c6 commit 00ec7c4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test

on:
push:

jobs:
test:
name: Test
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: "1.22.0"
cache: true

- name: Lint
run: go vet ./...

- name: Test
run: go test ./...

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
args: --timeout=10m ./...

0 comments on commit 00ec7c4

Please sign in to comment.