1
0
mirror of https://github.com/cmur2/miflorad.git synced 2024-06-14 18:34:42 +02:00
miflorad/.github/workflows/ci.yml
2022-05-04 20:32:00 +02:00

39 lines
812 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.18'
fail-fast: false
env:
GO111MODULE: on
GOPROXY: direct
GOSUMDB: off
steps:
- uses: actions/checkout@v3
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Build
run: |
make
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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