Skip to content

Commit

Permalink
update CI rust versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rrevenantt committed Aug 16, 2021
1 parent 1a3611f commit 0373be9
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/antlr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -91,7 +91,6 @@ jobs:
echo "::set-output name=new_version::$NEW_VER"
fi
publish:
runs-on: ubuntu-latest
if: |
Expand All @@ -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:
Expand Down

0 comments on commit 0373be9

Please sign in to comment.