mirror of
https://github.com/actix/examples
synced 2025-01-22 22:05:57 +01:00
Refine GHA workflows (#619)
This commit is contained in:
parent
866ad278d5
commit
17978ad115
7
.github/workflows/clippy-fmt.yml
vendored
7
.github/workflows/clippy-fmt.yml
vendored
@ -48,8 +48,9 @@ jobs:
|
|||||||
# DATABASE_URL="sqlite://./todo.db" sqlx migrate run
|
# DATABASE_URL="sqlite://./todo.db" sqlx migrate run
|
||||||
|
|
||||||
- name: clippy
|
- name: clippy
|
||||||
uses: actions-rs/clippy-check@v1
|
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
|
uses: giraffate/clippy-action@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
reporter: 'github-pr-check'
|
||||||
args: --workspace --all-features --tests
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
clippy_flags: --workspace --all-features --tests
|
||||||
|
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
|||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
|
|
||||||
- name: Start Redis
|
- name: Start Redis
|
||||||
uses: supercharge/redis-github-action@1.1.0
|
uses: supercharge/redis-github-action@1.5.0
|
||||||
with: { redis-version: 6 }
|
with: { redis-version: 6 }
|
||||||
|
|
||||||
- name: cargo test
|
- name: cargo test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user