1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-20 00:46:34 +00:00

Fix cargo clippy action (#259)

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update Cargo.toml

* Update rust.yml

* Update Cargo.toml
This commit is contained in:
jugeeya 2021-09-14 10:55:23 -07:00 committed by GitHub
parent 198bf23031
commit f41065a7f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,24 +8,26 @@ on:
workflow_dispatch:
jobs:
# clippy_pr:
# runs-on: ubuntu-latest
# container: devkitpro/devkita64
# steps:
# - uses: actions/checkout@v2
# - name: Install minimal nightly rust
# uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: nightly-2021-06-01
# components: rustfmt, clippy
# default: true
# target: x86_64-unknown-linux-gnu
# - uses: actions-rs/clippy-check@v1
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# toolchain: nightly-2021-06-01
# args: --all-features --target=x86_64-unknown-linux-gnu
clippy_pr:
runs-on: ubuntu-latest
container: jugeeya/cargo-skyline:2.1.0-dkp
steps:
- uses: actions/checkout@v2
- name: Setup PATH
run: export PATH=$PATH:/root/.cargo/bin:/opt/devkitpro/devkitA64/bin
- name: Install minimal nightly rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-06-01
components: rustfmt, clippy
default: true
target: x86_64-unknown-linux-gnu
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
toolchain: nightly-2021-06-01
args: --all-features --target=x86_64-unknown-linux-gnu
plugin:
runs-on: ubuntu-latest
container: