Skip to content

Commit 70ec194

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Github Actions] Rust test file fixed.
1 parent 585a531 commit 70ec194

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/rust.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
---
12
name: Rust
23

3-
on:
4+
on: # yamllint disable-line rule:truthy
45
push:
5-
branches: [ "main" ]
6+
branches: ["main"]
67
pull_request:
7-
branches: [ "main" ]
8+
# The branches below must be a subset of the branches above
9+
branches: ["main"]
10+
workflow_dispatch:
811

912
env:
1013
CARGO_TERM_COLOR: always
@@ -15,8 +18,8 @@ jobs:
1518
runs-on: ubuntu-24.04
1619

1720
steps:
18-
- uses: actions/checkout@v4
19-
- name: Build
20-
run: cargo build --verbose
21-
- name: Run tests
22-
run: cargo test --verbose
21+
- uses: actions/checkout@v4
22+
- name: Build
23+
run: cargo build --verbose
24+
- name: Run tests
25+
run: cargo test --verbose

0 commit comments

Comments
 (0)