Skip to content

chore: change ActionArgs::default to ::new #1719

chore: change ActionArgs::default to ::new

chore: change ActionArgs::default to ::new #1719

Workflow file for this run

name: Run CI - Unit Tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [master, dev]
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
jobs:
run_make_ci_test:
if: github.event.pull_request.draft == false
runs-on: extra-large
steps:
- name: Checkout this magicblock-validator
uses: actions/checkout@v2
with:
path: magicblock-validator
- uses: ./magicblock-validator/.github/actions/setup-build-env
with:
build_cache_key_name: "magicblock-validator-ci-test-unit-v000"
rust_toolchain_release: "1.84.1"
github_access_token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: ./magicblock-validator/.github/actions/setup-solana
- name: Install cargo-expand
run: cargo install cargo-expand
- name: Run unit tests
run: |
sudo prlimit --pid $$ --nofile=1048576:1048576
sudo sysctl fs.inotify.max_user_instances=1280
sudo sysctl fs.inotify.max_user_watches=655360
make ci-test-unit
shell: bash
working-directory: magicblock-validator