Skip to content

chore(gha): trigger CI on pull requests #3

chore(gha): trigger CI on pull requests

chore(gha): trigger CI on pull requests #3

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yaml

Invalid workflow file

`pull-request` is not a valid event name
on:
push:
branches:
- master
- v0.7-sync
pull-request:
branches:
- master
- v0.7-sync
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update local toolchain
run: |
rustup update
rustup component add clippy
- name: Lint
run: |
cargo fmt -- --check
cargo clippy --all --all-features -- -D warnings
- name: Test
run: |
cargo check --all --all-features
cargo test --all --all-features
- name: Build
run: |
cargo build --all-features --release