From 832510eac138daa8882408352a33322832f07028 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 22 Jan 2023 15:04:33 -0800 Subject: [PATCH] Revert "Move reusable workflow to repo root" This reverts commit a1576aeee3ac9309a5794e7405f47512939d8fdd. https://stackoverflow.com/questions/73026597/github-actions-suddenly-throwing-no-version-specified-for-reusable-workflows-t "Reusable workflows" vs "local actions" use the same syntax but are different mechanisms. :( --- .github/workflows/bindgen.yml | 2 +- .github/workflows/buck2.yml | 2 +- build.yml => .github/workflows/build.yml | 0 .github/workflows/cargo-bloat.yml | 2 +- .github/workflows/cargo-expand.yml | 2 +- .github/workflows/cargo-fuzz.yml | 2 +- .github/workflows/cargo-llvm-lines.yml | 2 +- .github/workflows/cargo-outdated.yml | 2 +- .github/workflows/cargo-tally.yml | 2 +- .github/workflows/cargo-unlock.yml | 2 +- .github/workflows/cbindgen.yml | 2 +- .github/workflows/cxxbridge-cmd.yml | 2 +- .github/workflows/dircnt.yml | 2 +- .github/workflows/faketty.yml | 2 +- .github/workflows/reindeer.yml | 2 +- .github/workflows/rustup-toolchain-install-master.yml | 2 +- .github/workflows/sha1dir.yml | 2 +- .github/workflows/star-history.yml | 2 +- .github/workflows/xargo.yml | 2 +- 19 files changed, 18 insertions(+), 18 deletions(-) rename build.yml => .github/workflows/build.yml (100%) diff --git a/.github/workflows/bindgen.yml b/.github/workflows/bindgen.yml index 136d6bf..e72e8e6 100644 --- a/.github/workflows/bindgen.yml +++ b/.github/workflows/bindgen.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: bindgen-cli bin: bindgen diff --git a/.github/workflows/buck2.yml b/.github/workflows/buck2.yml index 7aa5ce6..e5a513e 100644 --- a/.github/workflows/buck2.yml +++ b/.github/workflows/buck2.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: buck2 git: facebookincubator/buck2 diff --git a/build.yml b/.github/workflows/build.yml similarity index 100% rename from build.yml rename to .github/workflows/build.yml diff --git a/.github/workflows/cargo-bloat.yml b/.github/workflows/cargo-bloat.yml index 327f397..5381655 100644 --- a/.github/workflows/cargo-bloat.yml +++ b/.github/workflows/cargo-bloat.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: cargo-bloat permissions: diff --git a/.github/workflows/cargo-expand.yml b/.github/workflows/cargo-expand.yml index 9f2f646..758f1c4 100644 --- a/.github/workflows/cargo-expand.yml +++ b/.github/workflows/cargo-expand.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: cargo-expand permissions: diff --git a/.github/workflows/cargo-fuzz.yml b/.github/workflows/cargo-fuzz.yml index 535e5f4..8688b76 100644 --- a/.github/workflows/cargo-fuzz.yml +++ b/.github/workflows/cargo-fuzz.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: cargo-fuzz permissions: diff --git a/.github/workflows/cargo-llvm-lines.yml b/.github/workflows/cargo-llvm-lines.yml index e35d13a..595aa12 100644 --- a/.github/workflows/cargo-llvm-lines.yml +++ b/.github/workflows/cargo-llvm-lines.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: cargo-llvm-lines permissions: diff --git a/.github/workflows/cargo-outdated.yml b/.github/workflows/cargo-outdated.yml index 4f47509..e713fa0 100644 --- a/.github/workflows/cargo-outdated.yml +++ b/.github/workflows/cargo-outdated.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: cargo-outdated permissions: diff --git a/.github/workflows/cargo-tally.yml b/.github/workflows/cargo-tally.yml index 96dc204..98f81ae 100644 --- a/.github/workflows/cargo-tally.yml +++ b/.github/workflows/cargo-tally.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: cargo-tally permissions: diff --git a/.github/workflows/cargo-unlock.yml b/.github/workflows/cargo-unlock.yml index 4fd0482..dd1084a 100644 --- a/.github/workflows/cargo-unlock.yml +++ b/.github/workflows/cargo-unlock.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: cargo-unlock permissions: diff --git a/.github/workflows/cbindgen.yml b/.github/workflows/cbindgen.yml index e0e4048..bcd75b9 100644 --- a/.github/workflows/cbindgen.yml +++ b/.github/workflows/cbindgen.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: cbindgen permissions: diff --git a/.github/workflows/cxxbridge-cmd.yml b/.github/workflows/cxxbridge-cmd.yml index 070b36c..2106ac1 100644 --- a/.github/workflows/cxxbridge-cmd.yml +++ b/.github/workflows/cxxbridge-cmd.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: cxxbridge-cmd bin: cxxbridge diff --git a/.github/workflows/dircnt.yml b/.github/workflows/dircnt.yml index 164c04e..d2960d2 100644 --- a/.github/workflows/dircnt.yml +++ b/.github/workflows/dircnt.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: dircnt permissions: diff --git a/.github/workflows/faketty.yml b/.github/workflows/faketty.yml index 66b1cfe..ae3f2b9 100644 --- a/.github/workflows/faketty.yml +++ b/.github/workflows/faketty.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: faketty permissions: diff --git a/.github/workflows/reindeer.yml b/.github/workflows/reindeer.yml index 37baf3e..cbada03 100644 --- a/.github/workflows/reindeer.yml +++ b/.github/workflows/reindeer.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: reindeer git: facebookincubator/reindeer diff --git a/.github/workflows/rustup-toolchain-install-master.yml b/.github/workflows/rustup-toolchain-install-master.yml index 1c30180..9104f73 100644 --- a/.github/workflows/rustup-toolchain-install-master.yml +++ b/.github/workflows/rustup-toolchain-install-master.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: rustup-toolchain-install-master git: dtolnay-contrib/rustup-toolchain-install-master diff --git a/.github/workflows/sha1dir.yml b/.github/workflows/sha1dir.yml index 0035eb8..f773756 100644 --- a/.github/workflows/sha1dir.yml +++ b/.github/workflows/sha1dir.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: sha1dir permissions: diff --git a/.github/workflows/star-history.yml b/.github/workflows/star-history.yml index 491748f..cbacef9 100644 --- a/.github/workflows/star-history.yml +++ b/.github/workflows/star-history.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: star-history permissions: diff --git a/.github/workflows/xargo.yml b/.github/workflows/xargo.yml index 8fa14fb..6c17e2e 100644 --- a/.github/workflows/xargo.yml +++ b/.github/workflows/xargo.yml @@ -7,7 +7,7 @@ on: jobs: build: - uses: ./build.yml + uses: ./.github/workflows/build.yml with: crate: xargo permissions: