Skip to content

[TKN-703, AMM-41] Dockerize CI build, test and lint jobs #2252

[TKN-703, AMM-41] Dockerize CI build, test and lint jobs

[TKN-703, AMM-41] Dockerize CI build, test and lint jobs #2252

Workflow file for this run

name: Checks
on:
pull_request:
branches: "*"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# build:
# runs-on: blacksmith-8vcpu-ubuntu-2404
# steps:
# - name: Checkout repository
# uses: actions/checkout@v5
# - name: Build all packages
# run: docker compose --profile build up --quiet-pull --abort-on-container-failure
# test-sdks:
# runs-on: blacksmith-8vcpu-ubuntu-2404
# steps:
# - name: Checkout repository
# uses: actions/checkout@v5
# - name: Run all SDK tests
# run: docker compose --profile test-sdks up --quiet-pull --abort-on-container-failure
test-whirlpools-program:
runs-on: blacksmith-8vcpu-ubuntu-2404
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
submodules: recursive
- name: Run all Whirlpools program tests
run: docker compose --profile test-whirlpools-program up --quiet-pull --abort-on-container-failure
# lint:
# runs-on: blacksmith-8vcpu-ubuntu-2404
# steps:
# - name: Checkout repository
# uses: actions/checkout@v5
# - name: Run lint
# run: docker compose --profile lint up --quiet-pull --abort-on-container-failure
# verify-generated:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v5
# - name: Setup Anchor
# uses: ./.github/actions/anchor
# - name: Install dependencies
# run: yarn install
# - name: Generate clients
# run: yarn generate
# - name: Verify no diffs
# run: |
# git diff --exit-code -- \
# ts-sdk/client/src/generated \
# rust-sdk/client/src/generated
# changeset:
# runs-on: ubuntu-latest
# if: ${{ !(github.event.pull_request.user.login == 'dependabot[bot]' || contains(github.event.pull_request.labels.*.name, 'skip-changeset')) }}
# steps:
# - name: Checkout repository
# uses: actions/checkout@v5
# with:
# fetch-depth: 0
# - name: Install dependencies
# run: yarn install
# - name: Check changesets
# run: yarn changeset status --since origin/main