Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,40 @@ jobs:
runs-on: blacksmith-2vcpu-ubuntu-2404
steps:
- uses: actions/checkout@v6

- name: Rust toolchain
uses: dtolnay/rust-toolchain@master
#uses: actions-rust-lang/setup-rust-toolchain@v1
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy
toolchain: nightly
cache: true
cache-on-failure: true

- name: Install and Cache Apt packages
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: nasm
version: 1.0
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

- name: Run linter (clippy action)
#env: SQLX_OFFLINE: true
env:
SQLX_OFFLINE: true
uses: clechasseur/rs-clippy-check@v5
with:
#token: ${{ secrets.GITHUB_TOKEN }}
args: --workspace
# args: --verbose -- -W warnings

formatting:
runs-on: blacksmith-2vcpu-ubuntu-2404
steps:
- uses: actions/checkout@v6

- name: Rustfmt Toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
components: rustfmt
cache: true
cache-on-failure: true

- name: Rust fmt check
uses: actions-rust-lang/rustfmt@v1

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading