split gencode job (#368)

This commit is contained in:
Conrado Gouvea 2023-05-31 17:08:07 -03:00 committed by GitHub
parent 8f216f3c81
commit 23d16130ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -84,6 +84,23 @@ jobs:
command: fmt
args: --all -- --check
gencode:
name: Check if automatically generated code is up to date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.2
with:
persist-credentials: false
- uses: actions-rs/toolchain@v1.0.7
with:
toolchain: stable
components: rustfmt
override: true
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1.0.3
with:
command: run