Skip to content

Commit

Permalink
Fix CI (#2)
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
zakarumych authored May 19, 2023
1 parent 82f7306 commit 7d289b5
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 44 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install stable toolchain
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: nightly
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/check-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,24 @@ name: Check multiple platforms

on:
pull_request:
types: [ labeled ]
types: [ opened, edited ]

env:
CARGO_TERM_COLOR: always

jobs:
check-targets:
if: ${{ github.event.label.name == 'ready-to-merge' }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install stable toolchain
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: nightly
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/check-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ name: Check multiple targets

on:
pull_request:
types: [ labeled ]
types: [ opened, edited ]

env:
CARGO_TERM_COLOR: always

jobs:
check-targets:
if: ${{ github.event.label.name == 'ready-to-merge' }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -24,11 +23,11 @@ jobs:
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v2
- name: Install stable toolchain
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: nightly
target: ${{ matrix.target }}
- name: Run cargo check
uses: actions-rs/cargo@v1
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/check-toolchains.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ name: Check multiple toolchains

on:
pull_request:
types: [ labeled ]
types: [ opened, edited ]

env:
CARGO_TERM_COLOR: always

jobs:
check-toolchains:
if: ${{ github.event.label.name == 'ready-to-merge' }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -25,4 +24,4 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: check
args: --all --all-features
args: --all
28 changes: 0 additions & 28 deletions .github/workflows/fast-pr-check.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Lints
on:
pull_request:
types: [ opened, edited ]
branches: [ main ]
paths:
- '**.rs'
- '**/Cargo.toml'
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Security audit

on:
pull_request:
types: [ labeled ]
branches: [ main ]
paths:
- '**/Cargo.toml'
Expand All @@ -12,7 +11,6 @@ env:

jobs:
security_audit:
if: ${{ github.event.label.name == 'ready-to-merge' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 7d289b5

Please sign in to comment.