dogger
1# This workflow will build a golang project
2# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3
4name: Go
5
6on:
7push:
8branches: [ "main" ]
9pull_request:
10branches: [ "main" ]
11
12jobs:
13
14build:
15runs-on: ubuntu-latest
16steps:
17- uses: actions/checkout@v3
18
19- name: Set up Go
20uses: actions/setup-go@v3
21with:
22go-version: 1.19
23
24- name: Build
25run: go build -v ./...
26
27- name: Test
28run: go test -v ./...
29