Skip to content

ci

ci #365

Workflow file for this run

---
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