mirror-nourybot/.github/workflows/go.yml

27 lines
390 B
YAML
Raw Permalink Normal View History

2021-10-28 23:37:42 +02:00
name: Go
on:
push:
2023-08-08 01:07:54 +02:00
branches: [ "master", "rewrite" ]
2021-10-28 23:37:42 +02:00
pull_request:
2023-08-08 01:07:54 +02:00
branches: [ "master", "rewrite" ]
2021-10-28 23:37:42 +02:00
jobs:
build:
runs-on: ubuntu-latest
steps:
2023-08-08 01:07:54 +02:00
- uses: actions/checkout@v3
2021-10-28 23:37:42 +02:00
- name: Set up Go
2023-08-08 01:07:54 +02:00
uses: actions/setup-go@v4
2021-10-28 23:37:42 +02:00
with:
2023-08-08 01:07:54 +02:00
go-version: '1.20'
2021-10-28 23:37:42 +02:00
- name: Build
run: go build -v ./...
- name: Test
2021-10-28 23:43:57 +02:00
run: go test -v ./...
2023-08-08 01:07:54 +02:00