Skip to content

Commit

Permalink
chore(CI): add basic CI (build & test) for PRs and master pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
dotboris committed Sep 21, 2024
1 parent 1f7240c commit e3c418a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI
on:
pull_request:
push:
branches: [master]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '^1.21'
- run: go test -v ./...

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '^1.21'
- run: go build -v .

0 comments on commit e3c418a

Please sign in to comment.