File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build
1+ name : BuildAndPublish
22
33on :
44 push :
5- branches : [ "main" ]
6- tags :
7- - ' *'
8- pull_request :
9- branches : [ "main" ]
105 tags :
116 - ' *'
7+
128env :
139 CARGO_TERM_COLOR : always
1410
1511jobs :
1612 build :
17-
1813 runs-on : ubuntu-latest
19-
2014 steps :
2115 - uses : actions/checkout@v4
22-
2316 - name : Build
2417 run : cargo build --verbose
2518 - name : Run tests
3023 runs-on : ubuntu-latest
3124 steps :
3225 - uses : actions/checkout@v4
33-
3426 - name : Login into crates.io
3527 run : cargo login ${{ secrets.CRATES_IO }}
3628 - name : Build binaries in "release" mode
Original file line number Diff line number Diff line change 1+ name : BuildAndTest
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+
10+ env :
11+ CARGO_TERM_COLOR : always
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Build
19+ run : cargo build --verbose
20+ - name : Run tests
21+ run : cargo test --verbose
Original file line number Diff line number Diff line change 11# the-bus-telemetry
2+ [ ![ Build] ( https://github.com/thatzok/TheBusTelemetry/actions/workflows/build.yml/badge.svg )] ( https://github.com/thatzok/TheBusTelemetry/actions/workflows/build.yml )
23
34This rust crate is a library for accessing the API (called telemetry) for the "The Bus" bus simulator.<br >
45
You can’t perform that action at this time.
0 commit comments