Selaa lähdekoodia

updated workflows

Ayush 1 vuosi sitten
vanhempi
sitoutus
33539cd2d2
2 muutettua tiedostoa jossa 6 lisäystä ja 6 poistoa
  1. 2 2
      .github/workflows/anchor.yml
  2. 4 4
      .github/workflows/solana-native.yml

+ 2 - 2
.github/workflows/anchor.yml

@@ -2,7 +2,7 @@ name: Anchor
 
 on:
   schedule:
-    - cron: "0 0 * * *"
+    - cron: '0 0 * * *'
   push:
     branches:
       - main
@@ -17,7 +17,7 @@ jobs:
     strategy:
       matrix:
         node-version: [20.x]
-        solana-version: [stable, 1.17.25]
+        solana-version: [1.18.8, beta]
         anchor-version: [0.30.0]
     steps:
       - uses: actions/checkout@v4

+ 4 - 4
.github/workflows/solana-native.yml

@@ -2,7 +2,7 @@ name: Native
 
 on:
   schedule:
-    - cron: "0 0 * * *"
+    - cron: '0 0 * * *'
   push:
     branches:
       - main
@@ -17,7 +17,7 @@ jobs:
     strategy:
       matrix:
         node-version: [20.x]
-        solana-version: [stable, 1.18.4]
+        solana-version: [1.17.25, stable, beta]
     steps:
       - uses: actions/checkout@v4
       - name: Use Node.js ${{ matrix.node-version }}
@@ -79,7 +79,7 @@ jobs:
     strategy:
       matrix:
         node-version: [20.x]
-        solana-version: [stable, 1.18.4]
+        solana-version: [1.17.25, stable, beta]
     steps:
       - uses: actions/checkout@v4
       - name: Use Node.js ${{ matrix.node-version }}
@@ -133,7 +133,7 @@ jobs:
             echo "*****************************"
             echo "Programs that failed testing:"
             printf "%s\n" "${failed_tests[@]}"
-            # exit 1
+            exit 1
           else
             echo "All tests passed."
           fi