Skip to content

Commit 322b9b5

Browse files
committed
Don't include public_private_dependencies in reusable workflow
1 parent e3bb2fd commit 322b9b5

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

.github/workflows/base.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -121,24 +121,6 @@ jobs:
121121
env:
122122
SYSTEM_DEPS_DAV1D_BUILD_INTERNAL: always
123123

124-
public_private_dependencies:
125-
runs-on: ubuntu-latest
126-
steps:
127-
- uses: actions/checkout@v4
128-
- uses: dtolnay/rust-toolchain@nightly
129-
- name: build
130-
run: |
131-
echo '#![deny(exported_private_dependencies)]' | cat - src/lib.rs > src/lib.rs.0
132-
mv src/lib.rs.0 src/lib.rs
133-
echo 'cargo-features = ["public-dependency"]' | cat - Cargo.toml > Cargo.toml.0
134-
mv Cargo.toml.0 Cargo.toml
135-
# mark rayon crate as public
136-
sed -i 's/rayon = { ver/rayon = { public = true, ver/' Cargo.toml
137-
# mark num-traits crate as public
138-
sed -i 's/num-traits = { ver/num-traits = { public = true, ver/' Cargo.toml
139-
# cargo +nightly check
140-
cargo check
141-
142124
rustfmt:
143125
runs-on: ubuntu-latest
144126
steps:

0 commit comments

Comments
 (0)