|
@@ -43,9 +43,10 @@ jobs:
|
|
|
- uses: ./.github/actions/setup/
|
|
|
|
|
|
- run: cargo install --path cli anchor-cli --locked --force
|
|
|
+ - run: chmod +x ~/.cargo/bin/anchor
|
|
|
- uses: actions/upload-artifact@v2
|
|
|
with:
|
|
|
- name: anchor-binary
|
|
|
+ name: anchor-binary-no-caching
|
|
|
path: ~/.cargo/bin/anchor
|
|
|
|
|
|
- uses: ./.github/actions/git-diff/
|
|
@@ -59,9 +60,10 @@ jobs:
|
|
|
- uses: actions/checkout@v2
|
|
|
- uses: actions/download-artifact@v2
|
|
|
with:
|
|
|
- name: anchor-binary
|
|
|
+ name: anchor-binary-no-caching
|
|
|
path: ~/.cargo/bin/
|
|
|
- run: chmod +rwx ~/.cargo/bin/anchor
|
|
|
+
|
|
|
- uses: ./.github/actions/setup/
|
|
|
- uses: ./.github/actions/setup-solana/
|
|
|
- uses: ./.github/actions/setup-ts/
|
|
@@ -92,9 +94,10 @@ jobs:
|
|
|
|
|
|
- uses: actions/download-artifact@v2
|
|
|
with:
|
|
|
- name: anchor-binary
|
|
|
+ name: anchor-binary-no-caching
|
|
|
path: ~/.cargo/bin/
|
|
|
- run: chmod +rwx ~/.cargo/bin/anchor
|
|
|
+
|
|
|
- run: cd ${{ matrix.node.path }} && anchor build --skip-lint
|
|
|
- uses: actions/upload-artifact@v2
|
|
|
with:
|
|
@@ -114,8 +117,10 @@ jobs:
|
|
|
|
|
|
- uses: actions/download-artifact@v2
|
|
|
with:
|
|
|
- name: anchor-binary
|
|
|
+ name: anchor-binary-no-caching
|
|
|
path: ~/.cargo/bin/
|
|
|
+ - run: chmod +x ~/.cargo/bin/anchor
|
|
|
+
|
|
|
- uses: actions/download-artifact@v2
|
|
|
with:
|
|
|
name: events.so
|
|
@@ -149,8 +154,9 @@ jobs:
|
|
|
|
|
|
- uses: actions/download-artifact@v2
|
|
|
with:
|
|
|
- name: anchor-binary
|
|
|
+ name: anchor-binary-no-caching
|
|
|
path: ~/.cargo/bin/
|
|
|
+ - run: chmod +x ~/.cargo/bin/anchor
|
|
|
|
|
|
- run: solana-test-validator -r --quiet &
|
|
|
name: start validator
|
|
@@ -188,7 +194,7 @@ jobs:
|
|
|
shell: bash
|
|
|
- uses: actions/download-artifact@v2
|
|
|
with:
|
|
|
- name: anchor-binary
|
|
|
+ name: anchor-binary-no-caching
|
|
|
path: ~/.cargo/bin/
|
|
|
- run: chmod +x ~/.cargo/bin/anchor
|
|
|
|
|
@@ -210,8 +216,9 @@ jobs:
|
|
|
|
|
|
- uses: actions/download-artifact@v2
|
|
|
with:
|
|
|
- name: anchor-binary
|
|
|
+ name: anchor-binary-no-caching
|
|
|
path: ~/.cargo/bin/
|
|
|
+ - run: chmod +x ~/.cargo/bin/anchor
|
|
|
|
|
|
- run: cd "$(mktemp -d)" && anchor init hello-anchor && cd hello-anchor && yarn link @project-serum/anchor && anchor test && yarn lint:fix
|
|
|
- uses: ./.github/actions/git-diff/
|
|
@@ -287,8 +294,9 @@ jobs:
|
|
|
|
|
|
- uses: actions/download-artifact@v2
|
|
|
with:
|
|
|
- name: anchor-binary
|
|
|
+ name: anchor-binary-no-caching
|
|
|
path: ~/.cargo/bin/
|
|
|
+ - run: chmod +x ~/.cargo/bin/anchor
|
|
|
|
|
|
- run: ${{ matrix.node.cmd }}
|
|
|
name: ${{ matrix.node.path }} program test
|