Build and test pipeline
Some checks failed
Lint / lint (push) Waiting to run
Build / build (push) Has been cancelled

This commit is contained in:
Valentin Brandl 2024-08-25 16:50:24 +02:00
parent 12fbb06666
commit d0f6d23ce7
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9
2 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,22 @@
name: Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...

View File

@ -1,4 +1,4 @@
name: golangci-lint
name: Lint
on:
push:
branches: