mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: fetch codeql prior to checking codegen
This commit is contained in:
9
.github/workflows/rust.yml
vendored
9
.github/workflows/rust.yml
vendored
@@ -23,7 +23,7 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
rust-check:
|
||||
rust-code:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -43,6 +43,13 @@ jobs:
|
||||
run: |
|
||||
cargo clippy --fix
|
||||
git diff --exit-code
|
||||
rust-codegen:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Install CodeQL
|
||||
uses: ./.github/actions/fetch-codeql
|
||||
- name: Code generation
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user