From e6f87b00b98460242d65d1c389b4931c6b66084b Mon Sep 17 00:00:00 2001 From: Jonas Bushart Date: Sun, 17 Apr 2022 21:15:23 +0200 Subject: [PATCH] Create ci.yml --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 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..4638157 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ + +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@v3 + - uses: ./ + name: Run actions-rust-lang/setup-rust-toolchain ${{matrix.rust}} + id: toolchain + with: + toolchain: ${{matrix.rust}} + - name: Check ${{'${{steps.toolchain.outputs.rustc-version}}'}} + run: echo '${{steps.toolchain.outputs.rustc-version}}' + - name: Check ${{'${{steps.toolchain.outputs.cargo-version}}'}} + run: echo '${{steps.toolchain.outputs.cargo-version}}' + - name: Check ${{'${{steps.toolchain.outputs.rustup-version}}'}} + run: echo '${{steps.toolchain.outputs.rustup-version}}' + - run: rustc --version && cargo --version + shell: bash