This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
Bump mio from 0.8.4 to 0.8.11 #7
Workflow file for this run
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: Lint Code | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
AMETHYST_CODENAME: "Clippedy Clip" | |
jobs: | |
formatting: | |
name: cargo fmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
components: rustfmt | |
- name: Format | |
uses: actions-rust-lang/[email protected] | |
clippy: | |
name: cargo clippy | |
runs-on: ubuntu-latest | |
container: ghcr.io/crystal-linux/crystal:latest | |
steps: | |
- uses: actions/checkout@v1 | |
- run: | | |
sudo pacman -Syu --needed --noconfirm | |
sudo pacman -S --noconfirm rust | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |