aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2024-02-07 11:35:43 +0100
committerJeff Vander Stoep <jeffv@google.com>2024-02-07 11:35:44 +0100
commitabdf78a2cbd6ac24a6667e46dde12ffbadccda4f (patch)
tree49bc4fab49bba8875ab1201bb30694bdf546b5bb /.github/workflows/ci.yml
parente523f567c3c22ceebdc206c6ab2e0db439699ab9 (diff)
downloadtermcolor-abdf78a2cbd6ac24a6667e46dde12ffbadccda4f.tar.gz
Upgrade termcolor to 1.4.1emu-34-3-release
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
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml48
1 files changed, 17 insertions, 31 deletions
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