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

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