Skip to content

Commit

Permalink
Use Mozilla minimum supported rust version in Github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jschanck committed Sep 27, 2023
1 parent cb8a2c1 commit 468e166
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 468e166

Please sign in to comment.