mirror of
https://gitea.invidious.io/iv-org/shard-radix.git
synced 2024-08-15 00:43:21 +00:00
9a1b56c020
Runs against Ubunut/macOS for latest version and introduce weekly on schedule to run it against nightly versions.
26 lines
517 B
YAML
26 lines
517 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- {os: ubuntu-latest, crystal: latest}
|
|
- {os: macos-latest, crystal: latest}
|
|
runs-on: ${{matrix.os}}
|
|
steps:
|
|
- uses: oprypin/install-crystal@v1
|
|
with:
|
|
crystal: ${{matrix.crystal}}
|
|
- uses: actions/checkout@v2
|
|
- run: crystal spec
|
|
- run: crystal tool format --check src spec
|