Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #2

Merged
merged 2 commits into from
May 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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