Bump the checkout action to v3 to avoid node12 deprecation (#103)
This commit is contained in:
10
.github/workflows/rust.yml
vendored
10
.github/workflows/rust.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Install rustfmt
|
- name: Install rustfmt
|
||||||
run: rustup component add rustfmt
|
run: rustup component add rustfmt
|
||||||
- name: Run rustfmt and check there's no difference
|
- name: Run rustfmt and check there's no difference
|
||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build
|
run: cargo build
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
features:
|
features:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Check with all features
|
- name: Check with all features
|
||||||
run: cargo check --all-features
|
run: cargo check --all-features
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
name: Cargo deny
|
name: Cargo deny
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- run: |
|
- run: |
|
||||||
@@ -57,7 +57,7 @@ jobs:
|
|||||||
fuzz:
|
fuzz:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Install nightly
|
- name: Install nightly
|
||||||
run: rustup toolchain install nightly
|
run: rustup toolchain install nightly
|
||||||
- name: Install cargo-fuzz
|
- name: Install cargo-fuzz
|
||||||
|
|||||||
Reference in New Issue
Block a user