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:
parent
198bf23031
commit
f41065a7f5
1 changed files with 20 additions and 18 deletions
38
.github/workflows/rust.yml
vendored
38
.github/workflows/rust.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue