Skip to content

PSA-34901 Pin third party actions to commit SHA #38

PSA-34901 Pin third party actions to commit SHA

PSA-34901 Pin third party actions to commit SHA #38

Workflow file for this run

name: PR validation
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Test suite
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@6d9817901c499d6b02debbb57edb38d33daa680b # stable
- name: Enable caching
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2
- name: Run cargo test
run: cargo test
lints:
name: Lints
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@6d9817901c499d6b02debbb57edb38d33daa680b # stable
- name: Enable caching
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2
- name: Run cargo fmt
run: cargo fmt --all -- --check
# - name: Run cargo clippy
# run: cargo clippy -- -D warnings