From dee36deb1c37ed4617e6aca00d137d9a6a86a274 Mon Sep 17 00:00:00 2001 From: Luro02 <24826124+Luro02@users.noreply.github.com> Date: Fri, 27 Sep 2019 15:07:20 +0200 Subject: [PATCH] add token and disable jobs (temporary) --- .github/workflows/rust.yml | 156 ++++++++++++++++++------------------- 1 file changed, 76 insertions(+), 80 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 72de1b0..99595d3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -4,85 +4,81 @@ name: Rust on: [push, pull_request] jobs: - build: - name: Build - runs-on: ${{ matrix.os }} - strategy: - matrix: - rust: - - stable - os: - - ubuntu-latest - # execute cargo build - steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - override: true - - uses: actions-rs/cargo@v1 - with: - command: build - arguments: --all-features - - test: - name: Test - runs-on: ${{ matrix.os }} - strategy: - matrix: - rust: - - stable - os: - - ubuntu-latest - # execute cargo test - steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - override: true - - uses: actions-rs/cargo@v1 - with: - command: test - - rustfmt: - name: Rustfmt - runs-on: ubuntu-latest - strategy: - matrix: - rust: - - stable - steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - override: true - - run: rustup component add rustfmt - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check - - clippy: - name: Clippy - runs-on: ubuntu-latest - strategy: - matrix: - rust: - - stable - steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - override: true - - run: rustup component add clippy - - uses: actions-rs/cargo@v1 - with: - command: clippy - # args: -- -D warnings +# build: +# runs-on: ${{ matrix.os }} +# strategy: +# matrix: +# rust: +# - stable +# os: +# - ubuntu-latest +# # execute cargo build +# steps: +# - uses: actions/checkout@v1 +# - uses: actions-rs/toolchain@v1 +# with: +# toolchain: ${{ matrix.rust }} +# override: true +# - uses: actions-rs/cargo@v1 +# with: +# command: build +# arguments: --all-features +# +# test: +# runs-on: ${{ matrix.os }} +# strategy: +# matrix: +# rust: +# - stable +# os: +# - ubuntu-latest +# # execute cargo test +# steps: +# - uses: actions/checkout@v1 +# - uses: actions-rs/toolchain@v1 +# with: +# toolchain: ${{ matrix.rust }} +# override: true +# - uses: actions-rs/cargo@v1 +# with: +# command: test +# rustfmt: +# runs-on: ubuntu-latest +# strategy: +# matrix: +# rust: +# - stable +# steps: +# - uses: actions/checkout@v1 +# - uses: actions-rs/toolchain@v1 +# with: +# toolchain: ${{ matrix.rust }} +# override: true +# - run: rustup component add rustfmt +# - uses: actions-rs/cargo@v1 +# with: +# command: fmt +# args: --all -- --check +# +# clippy: +# runs-on: ubuntu-latest +# strategy: +# matrix: +# rust: +# - stable +# steps: +# - uses: actions/checkout@v1 +# - uses: actions-rs/toolchain@v1 +# with: +# toolchain: ${{ matrix.rust }} +# override: true +# - run: rustup component add clippy +# - uses: actions-rs/cargo@v1 +# with: +# command: clippy +# # args: -- -D warnings +# lint: runs-on: ubuntu-latest steps: @@ -99,7 +95,7 @@ jobs: 'CARGO_INCREMENTAL': '0' 'RUSTFLAGS': '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zno-landing-pads' - uses: actions-rs/grcov@v0.1 - - name: Coveralls upload + - name: codecov upload uses: codecov/codecov-action@v1.0.2 with: - token: ${{secrets.CODECOV_TOKEN}} + token: 8bedf116-6403-4c64-b3f6-3dcb7aa73848