Skip to content

Merge pull request #13 from mycognosist/update-website-links #23

Merge pull request #13 from mycognosist/update-website-links

Merge pull request #13 from mycognosist/update-website-links #23

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