Yaml indentation....

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
This commit is contained in:
slinkydeveloper 2020-10-30 09:16:02 +01:00 committed by Francesco Guardiani
parent a9fbb8e0ea
commit 3f9f024a6d
2 changed files with 17 additions and 16 deletions

View File

@ -1,4 +1,4 @@
name: Pull Request checks name: Pull Request lints
on: on:
pull_request: pull_request:
@ -6,8 +6,8 @@ on:
- master - master
jobs: jobs:
fmt: lint:
name: Format check name: Rust lints
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -18,10 +18,12 @@ jobs:
override: true override: true
components: clippy, rustfmt components: clippy, rustfmt
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
name: "Cargo fmt"
with: with:
command: fmt command: fmt
args: --all -- --check args: --all -- --check
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
name: "Cargo clippy"
with: with:
command: clippy command: clippy
args: -- -D warnings args: -- -D warnings

View File

@ -122,7 +122,6 @@ jobs:
target: ${{ matrix.target }} target: ${{ matrix.target }}
override: true override: true
# Build examples
- name: "Build reqwest-wasm-example" - name: "Build reqwest-wasm-example"
if: matrix.target == 'wasm32-unknown-unknown' if: matrix.target == 'wasm32-unknown-unknown'
working-directory: ${GITHUB_WORKSPACE}/example-projects/reqwest-wasm-example working-directory: ${GITHUB_WORKSPACE}/example-projects/reqwest-wasm-example