zenity/.github/workflows/go.yml

27 lines
392 B
YAML
Raw Normal View History

2021-07-28 10:00:38 -04:00
name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
2022-03-24 12:02:19 -04:00
workflow_dispatch:
2021-07-28 10:00:38 -04:00
jobs:
build:
runs-on: ubuntu-latest
steps:
2022-04-28 19:17:01 -04:00
- uses: actions/checkout@v3
2021-07-28 10:00:38 -04:00
- name: Set up Go
2022-04-28 19:17:01 -04:00
uses: actions/setup-go@v3
2021-07-28 10:00:38 -04:00
with:
2022-03-26 11:36:53 -04:00
go-version: 1.18
2021-07-28 10:00:38 -04:00
- name: Build
2022-05-02 09:03:51 -04:00
run: go build -v -tags dev ./...
2021-07-28 10:00:38 -04:00
- name: Test
run: go test -v ./...