Skip to content

Commit

Permalink
💚 Add anchor 0.30.1 pipeline run
Browse files Browse the repository at this point in the history
  • Loading branch information
lukacan committed Jul 5, 2024
1 parent 135f78d commit 3bf8287
Show file tree
Hide file tree
Showing 13 changed files with 850 additions and 610 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/run_fuzz_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ on:
pull_request:

env:
SOLANA_CLI_VERSION: 1.18.12
ANCHOR_VERSION: 0.29.0
SOLANA_CLI_VERSION: 1.18.17
HONGGFUZZ_VERSION: 0.5.56

jobs:
run_fuzz_example:
unchecked-arithmetic-0:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set Anchor Version
run: echo "ANCHOR_VERSION=0.29.0" >> $GITHUB_ENV
- uses: ./.github/actions/setup-rust/
- uses: ./.github/actions/setup-solana/
- uses: ./.github/actions/setup-honggfuzz/
Expand All @@ -23,3 +24,18 @@ jobs:
- name: Test Fuzz
working-directory: examples/fuzz-tests/unchecked-arithmetic-0
run: cargo run --manifest-path ../../../Cargo.toml fuzz run fuzz_0
arbitrary-limit-inputs-5:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set Anchor Version
run: echo "ANCHOR_VERSION=0.30.1" >> $GITHUB_ENV
- uses: ./.github/actions/setup-rust/
- uses: ./.github/actions/setup-solana/
- uses: ./.github/actions/setup-honggfuzz/
id: rust-setup
- uses: Swatinem/rust-cache@v2
name: Cache Rust and it's packages
- name: Test Fuzz
working-directory: examples/fuzz-tests/arbitrary-limit-inputs-5
run: cargo run --manifest-path ../../../Cargo.toml fuzz run fuzz_0
1 change: 0 additions & 1 deletion examples/fuzz-tests/arbitrary-limit-inputs-5/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.anchor
.DS_Store
target
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.anchor
.DS_Store
target
Expand Down
6 changes: 3 additions & 3 deletions examples/fuzz-tests/arbitrary-limit-inputs-5/Anchor.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[toolchain]

[features]
seeds = false
resolution = true
skip-lint = false

[programs.localnet]
arbitrary_limit_inputs_5 = "HJ2QDmpWoqFXPuQnWDDAz5fTYjVV3cwz8pNLQDmqZ9Ut"
arbitrary_limit_inputs_5 = "AGpdCBtXUyLWKutvMCVDeTywkxgvQVjJk54btLQNLMiZ"

[registry]
url = "https://api.apr.dev"

[provider]
cluster = "Localnet"
wallet = "/home/andrej/.config/solana/id.json"
wallet = "~/.config/solana/id.json"

[scripts]
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
Loading

0 comments on commit 3bf8287

Please sign in to comment.