Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Update Rust crate mimalloc to 0.1.41 #1011

Update Rust crate mimalloc to 0.1.41

Update Rust crate mimalloc to 0.1.41 #1011

Workflow file for this run

on: [push]
name: Lint codebase
jobs:
code_lint:
name: Lint codebase
runs-on: ubuntu-latest
steps:
- name: Checkout codebase
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
default: true
profile: minimal
components: clippy, rustfmt
- name: Correct code files
uses: actions-rs/cargo@v1
with:
command: clippy
args: --fix -Z unstable-options
- name: Commit changes to code, if any
run: |
git config --global user.name 'Dokkoo'
git config --global user.email '[email protected]'
git diff --quiet && git diff --staged --quiet || git commit -am "Automatically approved suggested code corrections by linter"
git push