From 58ba71e514213f476a8a16b6e9440228af676b22 Mon Sep 17 00:00:00 2001 From: Benjamin Kyd Date: Wed, 12 Jul 2023 21:01:42 +0100 Subject: [PATCH] fix github workflow to use rust nightly --- .github/workflows/build.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a0a718..08acbd8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Rust +name: Rust nightly on: push: @@ -10,9 +10,20 @@ env: CARGO_TERM_COLOR: always jobs: - build: + check: + name: Check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Build - run: cargo build --verbose + - uses: actions/checkout@v2 + - id: component + uses: actions-rs/components-nightly@v1 + with: + component: clippy + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - uses: actions-rs/cargo@v1 + with: + command: check