2021-12-27 20:24:34 +02:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2022-06-17 06:32:14 +03:00
|
|
|
branches: [master]
|
2021-12-27 20:24:34 +02:00
|
|
|
pull_request:
|
|
|
|
schedule: [cron: "40 1 * * *"]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
install:
|
2022-07-15 20:06:35 +03:00
|
|
|
name: Rust ${{matrix.rust}} on ${{matrix.name}}
|
|
|
|
runs-on: ${{matrix.os}}-latest
|
2021-12-27 20:24:34 +02:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2022-07-15 20:06:35 +03:00
|
|
|
name: [Linux]
|
|
|
|
os: [ubuntu]
|
2022-06-17 06:32:14 +03:00
|
|
|
rust: [nightly, beta, stable]
|
2022-07-15 20:06:35 +03:00
|
|
|
include:
|
|
|
|
- name: macOS
|
|
|
|
os: macos
|
|
|
|
rust: nightly
|
|
|
|
- name: Windows
|
|
|
|
os: windows
|
|
|
|
rust: nightly
|
2021-12-27 20:24:34 +02:00
|
|
|
steps:
|
2022-04-25 04:31:38 +03:00
|
|
|
- uses: actions/checkout@v3
|
2021-12-27 20:24:34 +02: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}}'
|
2022-07-15 20:40:08 +03:00
|
|
|
- name: Check ${{'${{steps.toolchain.outputs.cachekey}}'}}
|
|
|
|
run: echo '${{steps.toolchain.outputs.cachekey}}'
|
2021-12-27 20:24:34 +02:00
|
|
|
- run: rustc --version
|