cc-backend/.github/workflows/test.yml

18 lines
379 B
YAML
Raw Normal View History

name: Build & Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Go
2023-05-11 16:26:09 +02:00
uses: actions/setup-go@v4
with:
2023-05-11 16:26:09 +02:00
go-version: 1.19.x
- name: Checkout code
2023-05-11 16:26:09 +02:00
uses: actions/checkout@v3
- name: Build, Vet & Test
run: |
go build ./...
go vet ./...
2022-03-15 08:29:29 +01:00
go test ./...