Move rubocop linting to its own recipe and add new cops #69
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: Rust ❤️🦀❤️ Tests 🦂 | |
on: | |
push: | |
branches-ignore: | |
- "main" | |
paths: | |
- "rust/**" | |
- "!rust/**.md" | |
- '!rust/.vscode/**' | |
- ".github/workflows/rust-*" | |
pull_request: | |
branches: | |
- "main" | |
paths: | |
- "rust/**" | |
- "!rust/**.md" | |
- '!rust/.vscode/**' | |
- ".github/workflows/rust-*" | |
schedule: # 9AM on the 15th | |
- cron: 0 22 14 1,2,3,10,11,12 * # AEDT Months | |
- cron: 0 23 14 4,5,6,7,8,9 * # AEST Months | |
workflow_call: | |
permissions: {} | |
defaults: | |
run: | |
shell: bash | |
working-directory: rust | |
jobs: | |
quick-test: | |
name: Rust ❤️🦀❤️ Quick Test 🦂 | |
if: ${{ github.event_name == 'push' && !(github.event.ref == 'refs/heads/main') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🏁 Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 |