Skip to content

Commit

Permalink
solana: add basic CI for solana integration branch (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
deekerno authored Feb 21, 2024
1 parent f1a5568 commit db7f618
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/solana-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Solana Integration Checks
on:
push:
branches:
- solana/integration
pull_request: null

env:
RUSTC_VERSION: 1.76.0
jobs:
cancel-previous-runs:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
make-lint:
name: make lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.RUSTC_VERSION }}
components: clippy, rustfmt
- name: make lint
run: make lint
working-directory: ./solana
make-test:
name: make test
runs-on: ubuntu-latest
# Anchor Docker image: https://www.anchor-lang.com/docs/verifiable-builds#images
container: backpackapp/build:v0.29.0
steps:
- uses: actions/checkout@v4
- name: Set default Rust toolchain
run: rustup default stable
working-directory: ./solana
- name: make test
run: make test
working-directory: ./solana

0 comments on commit db7f618

Please sign in to comment.