From 129599e85f576d692b210471540c751fb0a4e0b6 Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Sat, 26 Oct 2019 14:34:59 +0200 Subject: [PATCH] Update and fix Github Actions --- .github/workflows/cpal.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cpal.yml b/.github/workflows/cpal.yml index 13212fb..f9fb8b9 100644 --- a/.github/workflows/cpal.yml +++ b/.github/workflows/cpal.yml @@ -11,8 +11,13 @@ jobs: - uses: actions/checkout@v1 - name: Install alsa run: sudo apt-get install libasound2-dev - - name: Install clippy - run: rustup component add clippy + - name: Install stable + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + components: clippy - name: Run clippy uses: actions-rs/clippy-check@v1 with: @@ -27,6 +32,8 @@ jobs: steps: - uses: actions/checkout@v1 + - name: Install alsa + run: sudo apt-get install libasound2-dev - name: Run cargo publish env: MANIFEST: alsa-sys/Cargo.toml @@ -46,6 +53,7 @@ jobs: - name: Install stable uses: actions-rs/toolchain@v1 with: + profile: minimal toolchain: stable override: true - name: Run without features @@ -74,6 +82,7 @@ jobs: - name: Install stable uses: actions-rs/toolchain@v1 with: + profile: minimal toolchain: stable target: ${{ matrix.target }} - name: Build beep example @@ -103,6 +112,7 @@ jobs: - name: Install stable uses: actions-rs/toolchain@v1 with: + profile: minimal toolchain: stable target: ${{ matrix.version }}-pc-windows-msvc override: true