From 23d16130cee8771e125fde3108c28cc985ae13c2 Mon Sep 17 00:00:00 2001 From: Conrado Gouvea Date: Wed, 31 May 2023 17:08:07 -0300 Subject: [PATCH] split gencode job (#368) --- .github/workflows/main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f5faa760..86ffe856 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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