2019-12-20 21:27:22 +01:00
|
|
|
name: ci
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
schedule:
|
|
|
|
- cron: '3 4 * * 4' # weekly on thursday morning
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2020-08-21 16:51:09 +02:00
|
|
|
runs-on: ubuntu-latest
|
2019-12-20 21:27:22 +01:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
go:
|
2022-03-18 00:21:53 +01:00
|
|
|
- '1.18'
|
2020-08-21 16:51:09 +02:00
|
|
|
env:
|
|
|
|
GO111MODULE: on
|
|
|
|
GOPROXY: direct
|
|
|
|
GOSUMDB: off
|
2019-12-20 21:27:22 +01:00
|
|
|
steps:
|
2022-05-04 20:26:16 +02:00
|
|
|
- uses: actions/checkout@v3
|
2019-12-20 21:27:22 +01:00
|
|
|
- name: Set up Go ${{ matrix.go }}
|
2020-08-21 16:51:09 +02:00
|
|
|
uses: actions/setup-go@v2
|
2019-12-20 21:27:22 +01:00
|
|
|
with:
|
|
|
|
go-version: ${{ matrix.go }}
|
|
|
|
- name: Build
|
|
|
|
run: |
|
|
|
|
make
|