Skip to content

Commit

Permalink
ci: 32 CI workflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipTamb committed Nov 3, 2023
1 parent 7b655af commit 300ac39
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,38 +24,38 @@ on:
- cron: "0 0 * * 1-5"

jobs:
# checks:
# name: Run checks on ${{ matrix.os }}
# runs-on: ${{ matrix.os }}
# strategy:
# fail-fast: false
# matrix:
# os: [ubuntu-latest, macOS-latest]
# steps:
# - uses: actions/checkout@v2

# - name: Install Rust toolchain
# uses: actions-rs/toolchain@v1
# with:
# components: rustfmt, clippy

# - name: Code format check
# uses: actions-rs/cargo@v1
# with:
# command: fmt
# args: -- --check

# - name: Clippy
# uses: actions-rs/cargo@v1
# with:
# command: clippy
# args: --all-targets -- -D warnings

# - name: Clippy unstable
# uses: actions-rs/cargo@v1
# with:
# command: clippy
# args: --all-targets -- -D warnings
checks:
name: Run checks on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v2

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
components: rustfmt, clippy

- name: Code format check
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check

- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- -D warnings

- name: Clippy unstable
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- -D warnings

tests:
name: Run tests on ${{ matrix.os }}
Expand Down

0 comments on commit 300ac39

Please sign in to comment.