Skip to content

Commit

Permalink
chore: add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shanehull committed Sep 4, 2024
1 parent 451f0c6 commit f651e40
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lint-and-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint & Test

on:
pull_request:
branches:
- main

permissions:
contents: read

jobs:
lint_and_test:
name: Lint & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "1.22"
cache: false
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55
- name: Test
run: go test ./...

0 comments on commit f651e40

Please sign in to comment.