Testing if mergeable #4
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: Merge Request | |
run-name: Testing if mergeable | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- editor/** | |
- src/** | |
- Cargo.lock | |
- Cargo.toml | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run formatter | |
run: cargo fmt | |
- name: Run linter | |
run: cargo clippy -- --deny warnings | |
- name: Audit | |
run: | | |
cargo install cargo-audit | |
cargo audit --deny warnings | |
- name: Run tests | |
run: cargo test | |
- name: Build the project | |
run: cargo build --release |