Skip to content

Merge branch 'main' into improve-file-errors #3

Merge branch 'main' into improve-file-errors

Merge branch 'main' into improve-file-errors #3

Workflow file for this run

name: fishy
on: push
env:
CARGO_TERM_COLOR: always
jobs:
rust-fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: moonrepo/setup-rust@v0
with:
components: rustfmt
- name: Check formatting
run: |
cargo fmt \
-- --check
rust-clippy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: moonrepo/setup-rust@v0
with:
components: clippy
- name: Check code with clippy
run: |
cargo clippy \
-- -D warnings --no-deps
rust-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: moonrepo/setup-rust@v0
with:
components: clippy
- name: Build release
run: |
cargo build \
--release