3
0
Fork 0
mirror of https://github.com/dtolnay/rust-toolchain.git synced 2024-11-25 09:39:32 +01:00

Merge pull request #5 from dtolnay/ci

Test self in CI
This commit is contained in:
David Tolnay 2021-12-27 10:32:40 -08:00 committed by GitHub
commit 29ecc718a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

25
.github/workflows/ci.yml vendored Normal file
View 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