Bump rand from 0.9.1 to 0.9.2 #471
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
permissions: | |
actions: write | |
checks: write | |
contents: write | |
id-token: write | |
pull-requests: write | |
security-events: write | |
statuses: write | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup rust | |
uses: ./.github/actions/setup-rust | |
with: | |
toolchain: stable | |
should-cache-be-loaded: true | |
- name: Build and test publish script | |
run: ./scripts/publish-x86-64-Linux.sh | |
shell: bash | |
clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup rust | |
uses: ./.github/actions/setup-rust | |
with: | |
toolchain: stable | |
components: clippy | |
should-cache-be-loaded: true | |
- name: Run Clippy | |
run: cargo clippy --all-targets --all-features | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup rust | |
uses: ./.github/actions/setup-rust | |
with: | |
toolchain: stable | |
components: rustfmt | |
should-cache-be-loaded: false | |
- name: Run rustfmt | |
run: cargo fmt --all -- --check | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# super-linter needs the full git history to get the | |
# list of files that changed across commits | |
fetch-depth: 0 | |
- name: Lint Code Base | |
uses: super-linter/super-linter@v8 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VALIDATE_EDITORCONFIG: false | |
VALIDATE_RUST_CLIPPY: false | |
VALIDATE_RUST_2015: false |