Skip to content

build(deps-dev): bump eslint from 8.57.0 to 9.15.0 #446

build(deps-dev): bump eslint from 8.57.0 to 9.15.0

build(deps-dev): bump eslint from 8.57.0 to 9.15.0 #446

on:
push:
branches:
- main
paths:
- "examples/**"
- "macros/light-sdk-macros/**"
pull_request:
branches:
- "*"
paths:
- "examples/**"
- "macros/light-sdk-macros/**"
- "sdk/**"
types:
- opened
- synchronize
- reopened
- ready_for_review
name: examples-tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
system-programs:
name: system-programs
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
include:
- program: token-escrow-test
sub-tests: '[
"cargo test-sbf -p token-escrow -- --test-threads=1"
]'
- program: name-service-without-macros-test
sub-tests: '[
"cargo test-sbf -p name-service-without-macros -- --test-threads=1"
]'
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup and build
uses: ./.github/actions/setup-and-build
- name: build-programs
run: |
source ./scripts/devenv.sh
anchor build
- name: ${{ matrix.program }}
run: |
source ./scripts/devenv.sh
npx nx build @lightprotocol/zk-compression-cli
IFS=',' read -r -a sub_tests <<< "${{ join(fromJSON(matrix['sub-tests']), ', ') }}"
for subtest in "${sub_tests[@]}"
do
echo "$subtest"
eval "RUSTFLAGS=\"-D warnings\" $subtest"
done