From 2fe8a8ee69b32a88fc1d49ab406e2aa17cc1d585 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 27 Dec 2021 10:24:34 -0800 Subject: [PATCH] Test self in CI --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3b42e00 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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