Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: node20 for build-contract-artifacts #696

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/actions/build_contract_artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ runs:
apt update
apt install git -y
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
repository: smartcontractkit/chainlink-solana
ref: ${{ inputs.ref }}
- name: Setup go
uses: actions/setup-go@v4
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: "go.mod"
check-latest: true
Expand All @@ -36,7 +36,7 @@ runs:
- name: Check generated go bindings are up to date
shell: bash
run: |
go install github.com/gagliardetto/anchor-go@v0.2.3
go install github.com/gagliardetto/anchor-go@v0.3.1
./scripts/anchor-go-gen.sh
git diff --stat --exit-code
- name: Generate program_ids
Expand All @@ -47,7 +47,7 @@ runs:
run: anchor build
working-directory: contracts
- name: Upload Artifacts
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: artifacts
path: contracts/target/deploy
4 changes: 2 additions & 2 deletions .github/workflows/e2e_custom_cl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ jobs:
runs-on: ubuntu-latest-32cores-128GB
needs: [get_projectserum_version]
container:
image: projectserum/build:${{ needs.get_projectserum_version.outputs.projectserum_version }}
image: "backpackapp/build:v0.28.0"
env:
RUSTUP_HOME: "/root/.rustup"
FORCE_COLOR: 1
steps:
- name: Checkout the repo
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Build contracts
uses: ./.github/actions/build_contract_artifacts

Expand Down
4 changes: 2 additions & 2 deletions contracts/Anchor.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
anchor_version = "0.25.0"
anchor_version = "0.28.0"

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

[provider]
cluster = "localnet"
Expand Down
Loading
Loading