Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade actions/checkout to v3 #253

Merged
merged 3 commits into from Jun 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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