File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
- name : Check, test, build release zip, publish docs
1
+ name : main
2
2
3
3
on :
4
4
push :
@@ -100,6 +100,8 @@ jobs:
100
100
runs-on : ubuntu-latest
101
101
permissions :
102
102
contents : read
103
+ env :
104
+ NO_FIRMWARE_BIN=true
103
105
steps :
104
106
- uses : actions/checkout@v4
105
107
- name : Check formatting
@@ -110,32 +112,34 @@ jobs:
110
112
npm install
111
113
npm run build
112
114
popd
113
- NO_FIRMWARE_BIN=true cargo check --verbose --no-default-features --features=${{ matrix.device.name }}
115
+ cargo check --verbose --no-default-features --features=${{ matrix.device.name }}
114
116
- name : Run tests
115
117
run : |
116
- NO_FIRMWARE_BIN=true cargo test --verbose --no-default-features --features=${{ matrix.device.name }}
118
+ cargo test --verbose --no-default-features --features=${{ matrix.device.name }}
117
119
- name : Run clippy
118
120
run : |
119
- NO_FIRMWARE_BIN=true cargo clippy --verbose --no-default-features --features=${{ matrix.device.name }}
121
+ cargo clippy --verbose --no-default-features --features=${{ matrix.device.name }}
120
122
121
123
windows_installer_check_and_test :
122
124
needs : files_changed
123
125
if : needs.files_changed.outputs.installer_changed != '0'
124
126
runs-on : windows-latest
125
127
permissions :
126
128
contents : read
129
+ env :
130
+ NO_FIRMWARE_BIN=true
127
131
steps :
128
132
- uses : actions/checkout@v4
129
133
- name : cargo check
130
134
shell : bash
131
135
run : |
132
136
cd installer
133
- NO_FIRMWARE_BIN=true cargo check --verbose
137
+ cargo check --verbose
134
138
- name : cargo test
135
139
shell : bash
136
140
run : |
137
141
cd installer
138
- NO_FIRMWARE_BIN=true cargo test --verbose --no-default-features
142
+ cargo test --verbose --no-default-features
139
143
140
144
build_rayhunter_check :
141
145
if : needs.files_changed.outputs.daemon_changed != '0'
@@ -242,6 +246,7 @@ jobs:
242
246
packages : write
243
247
needs :
244
248
- build_rayhunter
249
+ - build_rootshell
245
250
- files_changed
246
251
- windows_installer_check_and_test
247
252
strategy :
Original file line number Diff line number Diff line change 16
16
- uses : actions/checkout@v4
17
17
- name : Ensure all Cargo.toml files have the same version defined.
18
18
run : |
19
- defined_versions=$(find lib bin installer rootshell telcom-parser -name Cargo.toml -exec grep ^version {} \; | uniq | wc -l)
19
+ defined_versions=$(find lib bin installer rootshell telcom-parser -name Cargo.toml -exec grep ^version {} \; | sort -u | wc -l)
20
20
find lib bin installer rootshell telcom-parser -name Cargo.toml -exec grep ^version {} \;
21
21
echo number of defined versions = $defined_versions
22
22
if [ $defined_versions != "1" ]
You can’t perform that action at this time.
0 commit comments