From 0373be9ff442a9fde38a4bd9c88e255dc045ae73 Mon Sep 17 00:00:00 2001 From: Konstantin Anisimov Date: Mon, 16 Aug 2021 17:27:42 +0300 Subject: [PATCH] update CI rust versions --- .github/workflows/antlr.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/antlr.yml b/.github/workflows/antlr.yml index f95b238..90afea8 100644 --- a/.github/workflows/antlr.yml +++ b/.github/workflows/antlr.yml @@ -5,12 +5,9 @@ on: branches: [ master ] pull_request: branches: [ master ] - - workflow_dispatch: env: CARGO_TERM_COLOR: always - RUST_VERSION: nightly-2021-04-23 jobs: tests-antlr: @@ -33,7 +30,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: ${{ env.RUST_VERSION }} + toolchain: stable default: true - name: Cache local Maven repository uses: actions/cache@v2 @@ -62,12 +59,15 @@ jobs: runs-on: ubuntu-latest outputs: new_version: ${{ steps.check_ver.outputs.new_version }} + strategy: + matrix: + rust_version: [ 1.52 , stable] steps: - uses: actions/checkout@v2 - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: ${{ env.RUST_VERSION }} + toolchain: ${{ matrix.rust_version }} default: true components: rustfmt - name: Build @@ -91,7 +91,6 @@ jobs: echo "::set-output name=new_version::$NEW_VER" fi - publish: runs-on: ubuntu-latest if: | @@ -107,7 +106,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: ${{ env.RUST_VERSION }} + toolchain: stable default: true - name: Cargo publish check env: