chore(deps): bump mio from 0.8.4 to 0.8.11 (#33) #189
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- main | |
- develop | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
all: | |
name: All | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
runs-on: ${{matrix.os}} | |
env: | |
RUSTFLAGS: --deny warnings | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- name: Remove Broken WSL bash executable | |
if: ${{ matrix.os == 'windows-latest' }} | |
shell: cmd | |
run: | | |
takeown /F C:\Windows\System32\bash.exe | |
icacls C:\Windows\System32\bash.exe /grant administrators:F | |
del C:\Windows\System32\bash.exe | |
- name: Setup Rust toolchain and cache | |
uses: actions-rust-lang/setup-rust-toolchain@v1.8.0 | |
with: | |
toolchain: stable | |
components: clippy, rustfmt | |
- uses: Swatinem/rust-cache@v2.7.3 | |
- name: Check Lockfile | |
run: | | |
# cargo update --locked --package just | |
- name: Test | |
run: cargo test --all | |
- name: Clippy | |
run: cargo clippy --all --all-targets | |
- name: Format | |
run: cargo fmt --all -- --check |