We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c130511 commit 0ebdc42Copy full SHA for 0ebdc42
.github/workflows/solana.yml
@@ -0,0 +1,34 @@
1
+name: Solana
2
+on:
3
+ push:
4
+ branches: [main]
5
+ pull_request:
6
7
+env:
8
+ CARGO_TERM_COLOR: always
9
+defaults:
10
+ run:
11
+ working-directory: solana
12
+jobs:
13
+ tests:
14
+ runs-on: ubuntu-latest
15
+ container: backpackapp/build:v0.30.1
16
+
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - name: List rustup toolchains
20
+ run: rustup toolchain list
21
+ - name: Set default toolchain
22
+ run: rustup default stable
23
24
25
+ - name: Install dependencies
26
+ run: npm install
27
+ - name: Anchor build
28
+ run: |
29
+ cargo build
30
+ cargo test
31
+ npm run build_wasm
32
+ anchor build
33
+ - name: Anchor tests
34
+ run: anchor test
0 commit comments