Update rust.yml

This commit is contained in:
Shunsuke Shibayama 2023-02-24 16:26:57 +09:00
parent c1e0c5dfff
commit 30d1e32aea
1 changed files with 18 additions and 4 deletions

View File

@ -2,9 +2,24 @@ name: Rust
on:
push:
branches: [ main ]
branches: [main]
paths-ignore:
- "docs/**"
- "images/**"
- "**.md"
- "**.yml"
- "LICENSE-**"
- ".gitmessage"
- ".pre-commit-config.yaml"
pull_request:
branches: [ main ]
branches: [main]
paths-ignore:
- "docs/**"
- "images/**"
- "**.md"
- "**.yml"
- "LICENSE-**"
- ".pre-commit-config.yaml"
env:
CARGO_TERM_COLOR: always
@ -16,8 +31,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
# installing is required for the tests
# installing pylyzer itself is required for the tests
- name: Build
run: |
rustup update stable