Skip to content

Commit 1210484

Browse files
Option to manually trigger workflow
1 parent c6a41ce commit 1210484

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
name: Build & Test
22

33
on:
4+
workflow_dispatch:
45
push:
5-
branches: [ master ]
6+
branches: [master]
67
pull_request:
7-
branches: [ master ]
8+
branches: [master]
89

910
jobs:
1011
build:
11-
1212
runs-on: windows-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
16-
- name: Lint
17-
run: cargo clippy --tests --examples --all-features
18-
- name: Formatting
19-
run: cargo fmt -- --check
20-
- name: Docs build
21-
run: cargo doc --no-deps --all-features
22-
- name: Build
23-
run: cargo build --release --examples --verbose --all-features
24-
- name: Check Tests Compile (don't run because we'd need iRacing running for that)
25-
run: cargo test --verbose --lib --no-run --all-features
15+
- uses: actions/checkout@v2
16+
- name: Lint
17+
run: cargo clippy --tests --examples --all-features
18+
- name: Formatting
19+
run: cargo fmt -- --check
20+
- name: Docs build
21+
run: cargo doc --no-deps --all-features
22+
- name: Build
23+
run: cargo build --release --examples --verbose --all-features
24+
- name: Check Tests Compile (don't run because we'd need iRacing running for that)
25+
run: cargo test --verbose --lib --no-run --all-features

0 commit comments

Comments
 (0)