From abdf78a2cbd6ac24a6667e46dde12ffbadccda4f Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Wed, 7 Feb 2024 11:35:43 +0100 Subject: Upgrade termcolor to 1.4.1 This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update external/rust/crates/termcolor For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md Test: TreeHugger Change-Id: If6e489c796fbc87ffc4e9b01767bd0bddf659adb --- .github/workflows/ci.yml | 48 +++++++++++++++++------------------------------- 1 file changed, 17 insertions(+), 31 deletions(-) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9fdfc46..3412b2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,67 +12,53 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - build: - - pinned - - pinned-win - - stable - - beta - - nightly - - macos - - win-msvc - - win-gnu include: - build: pinned - os: ubuntu-18.04 - rust: 1.34.0 + os: ubuntu-latest + rust: 1.60.0 - build: pinned-win - os: windows-2019 - rust: 1.34.0 + os: windows-latest + rust: 1.60.0 - build: stable - os: ubuntu-18.04 + os: ubuntu-latest rust: stable - build: beta - os: ubuntu-18.04 + os: ubuntu-latest rust: beta - build: nightly - os: ubuntu-18.04 + os: ubuntu-latest rust: nightly - build: macos os: macos-latest rust: stable - build: win-msvc - os: windows-2019 + os: windows-latest rust: stable - build: win-gnu - os: windows-2019 + os: windows-latest rust: stable-x86_64-gnu steps: - name: Checkout repository - uses: actions/checkout@v1 - with: - fetch-depth: 1 + uses: actions/checkout@v3 - name: Install Rust - uses: hecrj/setup-rust-action@v1 + uses: dtolnay/rust-toolchain@master with: - rust-version: ${{ matrix.rust }} + toolchain: ${{ matrix.rust }} - run: cargo build --verbose - run: cargo doc --verbose - run: cargo test --verbose rustfmt: name: rustfmt - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v1 - with: - fetch-depth: 1 + uses: actions/checkout@v3 - name: Install Rust - uses: hecrj/setup-rust-action@v1 + uses: dtolnay/rust-toolchain@master with: - rust-version: stable - - name: Install rustfmt - run: rustup component add rustfmt + toolchain: stable + components: rustfmt - name: Check formatting run: | cargo fmt --all -- --check -- cgit v1.2.3