diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml deleted file mode 100644 index ccc846a..0000000 --- a/.github/workflows/cron.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Cron - -on: - schedule: - - cron: "0 0 * * *" - -jobs: - audit: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions-rs/audit-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d17eecf..158574b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -19,17 +19,11 @@ jobs: - uses: actions/checkout@v3 with: submodules: recursive - - uses: actions-rs/toolchain@v1.0.7 - with: - profile: minimal - toolchain: stable + - uses: dtolnay/rust-toolchain@stable - uses: arduino/setup-protoc@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions-rs/cargo@v1.0.3 - with: - command: doc - args: --all-features --no-deps + - run: cargo doc --all-features --no-deps - if: github.event_name == 'push' && github.ref == 'refs/heads/main' uses: actions/upload-pages-artifact@v1 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7b843e3..eeff6ce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,17 +10,11 @@ jobs: - uses: actions/checkout@v3 with: submodules: recursive - - uses: actions-rs/toolchain@v1.0.7 - with: - profile: minimal - toolchain: stable + - uses: dtolnay/rust-toolchain@stable - uses: arduino/setup-protoc@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions-rs/cargo@v1.0.3 - with: - command: check - args: --all-features + - run: cargo check --all-features test: name: Test @@ -29,32 +23,19 @@ jobs: - uses: actions/checkout@v3 with: submodules: recursive - - uses: actions-rs/toolchain@v1.0.7 - with: - profile: minimal - toolchain: stable + - uses: dtolnay/rust-toolchain@stable - uses: arduino/setup-protoc@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions-rs/cargo@v1.0.3 - with: - command: test - args: --all-features + - run: cargo test --all-features rustfmt: name: Rustfmt runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1.0.7 - with: - profile: minimal - toolchain: stable - components: rustfmt - - uses: actions-rs/cargo@v1.0.3 - with: - command: fmt - args: --all -- --check + - uses: dtolnay/rust-toolchain@stable + - run: cargo fmt -- --check clippy: name: Clippy @@ -63,15 +44,8 @@ jobs: - uses: actions/checkout@v3 with: submodules: recursive - - uses: actions-rs/toolchain@v1.0.7 - with: - profile: minimal - toolchain: stable - components: clippy + - uses: dtolnay/rust-toolchain@clippy - uses: arduino/setup-protoc@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions-rs/cargo@v1.0.3 - with: - command: clippy - args: --all-features -- -Dwarnings + - run: cargo clippy --all-features -- -Dwarnings