瀏覽代碼

CI: Re-enable downstream jobs (#4495)

#### Problem

The downstream SPL jobs were disabled due to a new error caught by Rust
1.84. All of the program repos have been updated to mark their public
test modules as `pub(crate)`:

* record: https://github.com/solana-program/record/pull/18
* libraries: https://github.com/solana-program/libraries/pull/22
* token-2022: https://github.com/solana-program/token-2022/pull/80

#### Summary of changes

Re-enable the tests! Also, run the downstream jobs when
rust-toolchain.toml is modified.
Jon C 10 月之前
父節點
當前提交
9e831dcb3f
共有 1 個文件被更改,包括 4 次插入6 次删除
  1. 4 6
      .github/workflows/downstream-project-spl.yml

+ 4 - 6
.github/workflows/downstream-project-spl.yml

@@ -11,6 +11,7 @@ on:
       - v[0-9]+.[0-9]+
     paths:
       - "**.rs"
+      - "rust-toolchain.toml"
       - "Cargo.toml"
       - "Cargo.lock"
       - "cargo-build-sbf"
@@ -37,8 +38,7 @@ env:
 
 jobs:
   check:
-    #if: github.repository == 'anza-xyz/agave'
-    if: false
+    if: github.repository == 'anza-xyz/agave'
     runs-on: ubuntu-latest
     strategy:
       matrix:
@@ -75,8 +75,7 @@ jobs:
           cargo check
 
   test_cli:
-    #if: github.repository == 'anza-xyz/agave'
-    if: false
+    if: github.repository == 'anza-xyz/agave'
     runs-on: ubuntu-latest
     strategy:
       matrix:
@@ -105,8 +104,7 @@ jobs:
           cargo test --manifest-path clients/cli/Cargo.toml
 
   cargo-test-sbf:
-    #if: github.repository == 'anza-xyz/agave'
-    if: false
+    if: github.repository == 'anza-xyz/agave'
     runs-on: ubuntu-latest
     strategy:
       matrix: