Skip to content

Allow to trigger CD action manually #152

Allow to trigger CD action manually

Allow to trigger CD action manually #152

Workflow file for this run

name: CI
on:
pull_request:
push:
# branches:
# - main
jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: |
sudo apt-get update
sudo apt-get install -y -qq webkit2gtk-4.1
- uses: Swatinem/rust-cache@v2
- run: cargo test
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: |
sudo apt-get update
sudo apt-get install -y -qq webkit2gtk-4.1
- uses: Swatinem/rust-cache@v2
- run: cargo clippy -- -D warnings