github actions rewrite

This commit is contained in:
2023-08-02 14:47:38 +02:00
parent e2dd54add2
commit 8c57a7bb28
4 changed files with 68 additions and 36 deletions

23
.github/workflows/backend.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Go
on:
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...