diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 393cb3c9..45550801 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,9 @@ on: [push, pull_request] # Make sure CI fails on all warnings, including Clippy lints env: RUSTFLAGS: "-Dwarnings" + # Minimum supported rust version for mozilla-central + # https://firefox-source-docs.mozilla.org/writing-rust-code/update-policy.html + MOZILLA_MSRV: "1.66" jobs: build: @@ -83,7 +86,7 @@ jobs: uses: actions/checkout@v2 - name: Install latest rust toolchain - run: rustup target add ${{ matrix.TARGET }} + run: rustup +${{ env.MOZILLA_MSRV }} target add ${{ matrix.TARGET }} - name: Install Packages if: ${{ matrix.ADD_INSTALL }}