mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2024-12-22 07:35:50 +02:00
Test self in CI
This commit is contained in:
parent
1bccaa1715
commit
2fe8a8ee69
1 changed files with 25 additions and 0 deletions
25
.github/workflows/ci.yml
vendored
Normal file
25
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
schedule: [cron: "40 1 * * *"]
|
||||
|
||||
jobs:
|
||||
install:
|
||||
name: Rust ${{matrix.rust}}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
rust: [nightly, beta, stable]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- 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
|
Loading…
Reference in a new issue