ci: enable all workflows to allow status checks #7
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: API Checks | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
# Fail on warnings | |
env: | |
RUSTFLAGS: "-Dwarnings" | |
jobs: | |
clippy: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: api | |
steps: | |
- uses: actions/checkout@v3 | |
- run: cargo clippy |