Skip to content

Commit

Permalink
ci: add go test
Browse files Browse the repository at this point in the history
  • Loading branch information
kahnwong committed Oct 10, 2024
1 parent c515046 commit 860186d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/go-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Go Test
on:
pull_request:
paths-ignore:
- '.github/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
go-test:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test
run: go test ./...

0 comments on commit 860186d

Please sign in to comment.