Skip to content

Commit 5e6c7fb

Browse files
committed
Fix GitHub workflow files
1 parent e1af94e commit 5e6c7fb

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

.github/workflows/dependency-audit.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
- uses: EmbarkStudios/cargo-deny-action@v2
2929
with:
3030
command: check
31-
arguments: |-
31+
arguments: >-
3232
--all-features
3333
--locked

.github/workflows/pre-release.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ jobs:
3939
steps:
4040
- name: Install dependencies for `musl libc` on Linux
4141
if: matrix.target == 'x86_64-unknown-linux-musl'
42-
run: |-
42+
run: >-
4343
sudo apt update &&
4444
sudo apt -y install
4545
musl-tools
4646
4747
# See also: <https://github.com/emilk/egui/blob/master/.github/workflows/rust.yml>
4848
- name: Install dependencies for `egui` on Linux
4949
if: runner.os == 'Linux'
50-
run: |-
50+
run: >-
5151
sudo apt update &&
5252
sudo apt -y install
5353
libgtk-3-dev
@@ -116,7 +116,7 @@ jobs:
116116
uses: actions/download-artifact@v4
117117

118118
- name: Generate artifact checksums
119-
run: |-
119+
run: >-
120120
for file in ${{ matrix.build_package }}-*/${{ matrix.build_package }}-*;
121121
do
122122
openssl dgst -sha256 -r "$file" | awk '{print $1}' > "${file}.sha256";

.github/workflows/test.yaml

+20-20
Original file line numberDiff line numberDiff line change
@@ -89,29 +89,29 @@ jobs:
8989
shared-key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.target }}
9090

9191
- name: Check aoide-core
92-
run: |-
92+
run: >-
9393
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
9494
--manifest-path crates/core/Cargo.toml
9595
9696
- name: Check aoide-core-json
97-
run: |-
98-
ccargo check --locked --all-targets --all-features --target ${{ matrix.target }}
97+
run: >-
98+
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
9999
--manifest-path crates/core-json/Cargo.toml
100100
101101
- name: Check aoide-core-api
102-
run: |-
102+
run: >-
103103
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
104104
--manifest-path crates/core-api/Cargo.toml
105105
106106
- name: Check aoide-core-api-json
107-
run: |-
107+
run: >-
108108
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
109109
--manifest-path crates/core-api-json/Cargo.toml
110110
111111
- name: Check aoide-desktop-app
112112
# TODO: Re-enable after cross-compilation issues for wayland-sys have been fixed.
113113
if: false
114-
run: |-
114+
run: >-
115115
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
116116
--manifest-path crates/desktop-app/Cargo.toml
117117
@@ -121,73 +121,73 @@ jobs:
121121
--manifest-path crates/media-file/Cargo.toml
122122
123123
- name: Check aoide-repo
124-
run: |-
124+
run: >-
125125
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
126126
--manifest-path crates/repo/Cargo.toml
127127
128128
- name: Check aoide-repo-sqlite
129-
run: |-
129+
run: >-
130130
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
131131
--manifest-path crates/repo-sqlite/Cargo.toml
132132
133133
- name: Check aoide-storage-sqlite
134-
run: |-
134+
run: >-
135135
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
136136
--manifest-path crates/storage-sqlite/Cargo.toml
137137
138138
- name: Check aoide-search-index-tantivy
139-
run: |-
139+
run: >-
140140
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
141141
--manifest-path crates/search-index-tantivy/Cargo.toml
142142
143143
- name: Check aoide-usecases
144-
run: |-
144+
run: >-
145145
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
146146
--manifest-path crates/usecases/Cargo.toml
147147
148148
- name: Check aoide-usecases-sqlite
149-
run: |-
149+
run: >-
150150
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
151151
--manifest-path crates/usecases-sqlite/Cargo.toml
152152
153153
- name: Check aoide-backend-embedded
154-
run: |-
154+
run: >-
155155
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
156156
--manifest-path crates/backend-embedded/Cargo.toml
157157
158158
- name: Check aoide-backend-webapi-json
159-
run: |-
159+
run: >-
160160
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
161161
--manifest-path crates/backend-webapi-json/Cargo.toml
162162
163163
- name: Check aoide-websrv-warp-sqlite
164-
run: |-
164+
run: >-
165165
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
166166
--manifest-path crates/websrv-warp-sqlite/Cargo.toml
167167
168168
- name: Check aoide-websrv
169-
run: |-
169+
run: >-
170170
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
171171
--manifest-path websrv/Cargo.toml
172172
173173
- name: Check aoide-file-collection-app
174-
run: |-
174+
run: >-
175175
cargo check --locked --all-targets --all-features --target ${{ matrix.target }}
176176
--manifest-path file-collection-app/Cargo.toml
177177
178178
- name: Build tests with all features enabled
179-
run: |-
179+
run: >-
180180
cargo check --locked --workspace --all-features --target ${{ matrix.target }}
181181
--no-run
182182
183183
- name: Run tests with all features enabled
184184
if: matrix.runnable
185-
run: |-
185+
run: >-
186186
cargo check --locked --workspace --all-features --target ${{ matrix.target }}
187187
-- --nocapture --quiet
188188
189189
- name: Run doctests with all features enabled (only on default target)
190190
if: matrix.default_target
191-
run: |-
191+
run: >-
192192
cargo test --locked --workspace --all-features
193193
--doc

0 commit comments

Comments
 (0)