1
0
mirror of https://github.com/cmur2/miflorad.git synced 2024-12-22 12:54:25 +01:00
miflorad/.github/workflows/ci.yml

41 lines
833 B
YAML
Raw Normal View History

---
2019-12-20 21:27:22 +01:00
name: ci
on:
push:
schedule:
- cron: '3 4 * * 4' # weekly on thursday morning
jobs:
build:
runs-on: ubuntu-latest
2019-12-20 21:27:22 +01:00
strategy:
matrix:
go:
- '1.19'
2023-02-03 10:56:44 +01:00
- '1.20'
2022-05-04 20:31:10 +02:00
fail-fast: false
env:
GO111MODULE: on
GOPROXY: direct
GOSUMDB: off
2019-12-20 21:27:22 +01:00
steps:
- uses: actions/checkout@v4
2019-12-20 21:27:22 +01:00
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
2019-12-20 21:27:22 +01:00
with:
go-version: ${{ matrix.go }}
- name: Build
run: |
make
2022-05-04 20:31:10 +02:00
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2022-05-04 20:31:10 +02:00
- name: Check workflow files
run: |
echo "::add-matcher::.github/actionlint-matcher.json"
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
./actionlint