diff --git a/.forgejo/workflows/buildcheck.yaml b/.forgejo/workflows/buildcheck.yaml index d6f2e38..dc1b053 100644 --- a/.forgejo/workflows/buildcheck.yaml +++ b/.forgejo/workflows/buildcheck.yaml @@ -3,25 +3,39 @@ run-name: ${{ github.actor }} is testing on: [push] jobs: docker-check: - runs-on: rust + runs-on: docker steps: - name: Grab misc. dependencies run: | apt update && apt install -y librust-libudev-sys-dev build-essential - name: Check out repository code uses: actions/checkout@v3 + - name: Grab Rust toolchain + uses: https://github.com/actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + target: aarch64-unknown-linux-gnu + override: true - name: Run check uses: https://github.com/actions-rs/cargo@v1 with: command: check docker-build: - runs-on: rust + runs-on: docker steps: - name: Grab misc. dependencies run: | apt update && apt install -y librust-libudev-sys-dev build-essential - name: Check out repository code uses: actions/checkout@v3 + - name: Grab Rust toolchain + uses: https://github.com/actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + target: aarch64-unknown-linux-gnu + override: true - name: Run check uses: https://github.com/actions-rs/cargo@v1 with: