Skip to content

Commit

Permalink
Merge pull request #253 from JohnTitor/action-tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Jun 18, 2022
2 parents 22570b8 + 25811a5 commit a3e04bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/benches.yml
Expand Up @@ -7,18 +7,18 @@ jobs:
bench_between_master_and_pr:
if: ${{ github.event.label.name == 'run-benchmarks' }}
name: Bench
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Setup nightly toolchain
run: |
rustup set profile minimal
rustup override set nightly
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: master
- name: measure benchmarks on master
run: cargo bench
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
clean: false
- name: measure benchmarks on PR
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -8,20 +8,22 @@ on:
jobs:
ci:
name: CI
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
# MSRV and nightly
version: [1.60.0, nightly]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set toolchain
run: |
rustup set profile minimal
rustup override set ${{ matrix.version }}
- uses: Swatinem/rust-cache@v1.4.0

- name: Rustfmt check
if: matrix.version == '1.60.0'
run: |
Expand Down

0 comments on commit a3e04bc

Please sign in to comment.