Windows Clippy (#525)

* Add windows clippy

* Adjust build-dependencies for Linux/Windows

* Specifically use bash as a shell to try and get rustup to work on Windows

* Use bash for the call to echo
This commit is contained in:
Luke Parker
2024-01-31 19:10:39 -05:00
committed by GitHub
parent cc75b52a43
commit 05219c3ce8
2 changed files with 16 additions and 3 deletions

View File

@@ -9,12 +9,17 @@ on:
jobs:
clippy:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
- name: Get nightly version to use
id: nightly
shell: bash
run: echo "version=$(cat .github/nightly-version)" >> $GITHUB_OUTPUT
- name: Build Dependencies
@@ -60,6 +65,7 @@ jobs:
- name: Get nightly version to use
id: nightly
shell: bash
run: echo "version=$(cat .github/nightly-version)" >> $GITHUB_OUTPUT
- name: Install nightly rust