Skip to content

Commit

Permalink
Support token-2022 program
Browse files Browse the repository at this point in the history
  • Loading branch information
tiendv89 committed Aug 20, 2024
1 parent ea153bd commit c2e7956
Show file tree
Hide file tree
Showing 37 changed files with 4,247 additions and 901 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/ci-pr-main-program.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
branches:
- main
env:
SOLANA_CLI_VERSION: 1.16.25
SOLANA_CLI_VERSION: 1.18.21
NODE_VERSION: 18.14.2
ANCHOR_CLI_VERSION: 0.28.0
ANCHOR_CLI_VERSION: 0.29.0

jobs:
program_changed_files:
Expand All @@ -32,12 +32,11 @@ jobs:
steps:
- uses: actions/checkout@v2
# Install rust + toolchain
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
- run: rustup toolchain install stable --component clippy
# Cache rust, cargo
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
with:
prefix-key: "v1"
- run: cargo test --package locker
shell: bash

Expand All @@ -51,12 +50,11 @@ jobs:
- uses: ./.github/actions/setup-dep
- uses: ./.github/actions/setup-anchor
# Install rust + toolchain
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
- run: rustup toolchain install stable --component clippy
# Cache rust, cargo
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
with:
prefix-key: "v1"
# Cache node_modules
- uses: actions/cache@v2
id: cache-node-modules
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ target
node_modules
test-ledger
.yarn
proptest-regressions
proptest-regressions

.idea
Loading

0 comments on commit c2e7956

Please sign in to comment.