Skip to content

chore(deps): bump bumpalo from 3.11.0 to 3.14.0 #3

chore(deps): bump bumpalo from 3.11.0 to 3.14.0

chore(deps): bump bumpalo from 3.11.0 to 3.14.0 #3

Workflow file for this run

name: Rust
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
runs-on: ubuntu-20.04
steps:
- name: Checkout Proof Generator
uses: actions/checkout@v2
- name: Install stable Rust (minimal)
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Cache stable
uses: Swatinem/rust-cache@v1
- name: Check code
run: cargo check
- name: Build code
run: cargo build
- name: Run tests
run: cargo test
- name: Run example-1
run: ./example/example-1.sh
- name: Run example-2
run: ./example/example-2.sh
check_formating_and_clippy:
runs-on: ubuntu-20.04
steps:
- name: Checkout Proof Generator
uses: actions/checkout@v2
- name: Install nightly Rust (minimal with clippy and rustfmt)
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Cache nightly
uses: Swatinem/rust-cache@v1
- name: Check code formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Check clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: -- -D warnings