Skip to content

Commit

Permalink
Add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pontus committed Jan 15, 2025
1 parent 8c42f5d commit a23f182
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release

on:
push:
path:
- "**.go"

permissions: {}

jobs:
test:
permissions:
contents: read

runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
id: go

- name: Build
run: go build -v ./...

- name: Run test and annotate
uses: robherley/go-test-action@v0

0 comments on commit a23f182

Please sign in to comment.