Cite the PQC paper using Github's citation files #1832
Workflow file for this run
This file contains 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: Cargo format | |
on: | |
push: | |
paths: | |
- 'examples/*.rs' | |
- 'libraries/**/*.rs' | |
- 'src/**/*.rs' | |
- 'tools/**/*.rs' | |
- 'patches/**' | |
- '**/Cargo.toml' | |
- '.cargo/config' | |
- '!third_party/**' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
cargo_format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: "true" | |
- uses: actions-rs/toolchain@v1 | |
with: | |
target: thumbv7em-none-eabi | |
components: rustfmt | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: 3.7 | |
- name: Install Python dependencies | |
run: python -m pip install --upgrade pip setuptools wheel | |
- name: Set up OpenSK | |
run: ./setup.sh | |
- name: Cargo format src/ | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --all -- --check | |
- name: Cargo format fuzz/ | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --manifest-path fuzz/Cargo.toml --all -- --check | |
- name: Cargo format libraries/cbor | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --manifest-path libraries/cbor/Cargo.toml --all -- --check | |
- name: Cargo format libraries/cbor/fuzz | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --manifest-path libraries/cbor/fuzz/Cargo.toml --all -- --check | |
- name: Cargo format libraries/crypto | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --manifest-path libraries/crypto/Cargo.toml --all -- --check | |
- name: Cargo format libraries/persistent_store | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --manifest-path libraries/persistent_store/Cargo.toml --all -- --check | |
- name: Cargo format tools/heapviz | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --manifest-path tools/heapviz/Cargo.toml --all -- --check |