Skip to content

Commit

Permalink
feat: Add PR workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
flxw committed Sep 25, 2023
1 parent 8a08fc1 commit 7cae934
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/pr-build-and-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Pull Request
on: [push]

jobs:
build:
name: "Build & Test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Install dependencies
run: go get .
- name: Build
run: go build -v
- name: Test with the Go CLI
run: go test

0 comments on commit 7cae934

Please sign in to comment.