mirror of
https://github.com/cmur2/miflorad.git
synced 2024-12-22 12:54:25 +01:00
41 lines
833 B
YAML
41 lines
833 B
YAML
---
|
|
name: ci
|
|
|
|
on:
|
|
push:
|
|
schedule:
|
|
- cron: '3 4 * * 4' # weekly on thursday morning
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
go:
|
|
- '1.19'
|
|
- '1.20'
|
|
fail-fast: false
|
|
env:
|
|
GO111MODULE: on
|
|
GOPROXY: direct
|
|
GOSUMDB: off
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Go ${{ matrix.go }}
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ matrix.go }}
|
|
- name: Build
|
|
run: |
|
|
make
|
|
|
|
actionlint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- 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
|