2021-12-27 19:24:34 +01:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2022-06-17 05:32:14 +02:00
|
|
|
branches: [master]
|
2021-12-27 19:24:34 +01:00
|
|
|
pull_request:
|
|
|
|
schedule: [cron: "40 1 * * *"]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
install:
|
|
|
|
name: Rust ${{matrix.rust}}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2022-06-17 05:32:14 +02:00
|
|
|
rust: [nightly, beta, stable]
|
2021-12-27 19:24:34 +01:00
|
|
|
steps:
|
2022-04-25 03:31:38 +02:00
|
|
|
- uses: actions/checkout@v3
|
2021-12-27 19:24:34 +01:00
|
|
|
- uses: ./
|
|
|
|
name: Run dtolnay/rust-toolchain@${{matrix.rust}}
|
|
|
|
id: toolchain
|
|
|
|
with:
|
|
|
|
toolchain: ${{matrix.rust}}
|
|
|
|
- name: Check ${{'${{steps.toolchain.outputs.version}}'}}
|
|
|
|
run: echo '${{steps.toolchain.outputs.version}}'
|
|
|
|
- run: rustc --version
|