Bump openssl from 0.10.55 to 0.10.57 #434
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
paths: | |
- '**' | |
- '!/*.md' | |
- '!/docs/**' | |
- "!/LICENSE-*" | |
push: | |
branches: | |
- main | |
paths: | |
- '**' | |
- '!/*.md' | |
- '!/docs/**' | |
- "!/LICENSE-*" | |
jobs: | |
ci: | |
name: CI | |
needs: [ test,rustfmt,clippy ] | |
if: github.repository == '0x727/ObserverWard' && github.actor != 'dependabot[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Done | |
run: exit 0 | |
test: | |
name: Test | |
if: github.repository == '0x727/ObserverWard' && github.actor != 'dependabot[bot]' | |
strategy: | |
matrix: | |
os: [ "ubuntu-latest", "windows-latest", "macos-latest" ] | |
rust: [ "stable" ] | |
continue-on-error: ${{ matrix.rust != 'stable' }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
profile: minimal | |
override: true | |
- uses: Swatinem/rust-cache@v1 | |
- name: Build | |
run: cargo test --no-run --workspace --all-features --all | |
- name: Default features | |
run: cargo test --workspace | |
rustfmt: | |
name: rustfmt | |
if: github.repository == '0x727/ObserverWard' && github.actor != 'dependabot[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
# Not MSRV because its harder to jump between versions and people are | |
# more likely to have stable | |
toolchain: stable | |
profile: minimal | |
override: true | |
components: rustfmt | |
- uses: Swatinem/rust-cache@v1 | |
- name: Check formatting | |
run: cargo fmt --all -- --check | |
clippy: | |
name: clippy | |
if: github.repository == '0x727/ObserverWard' && github.actor != 'dependabot[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.58.1 # MSRV | |
profile: minimal | |
override: true | |
components: clippy | |
- uses: Swatinem/rust-cache@v1 | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --workspace --all-features --all-targets -- -D warnings --allow deprecated |