Skip to content

fix: prevent scanner token too long crash in features loader #412

fix: prevent scanner token too long crash in features loader

fix: prevent scanner token too long crash in features loader #412

Workflow file for this run

name: Test
on:
push:
branches: [develop, master]
pull_request:
branches: [develop, master]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24.0'
cache: true
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install Dependencies
run: |
go mod download
npm ci
- name: Verify Mocks
run: |
make mocks
if [[ -n $(git status --porcelain mocks/) ]]; then
echo "::error::Mocks are out of date. Run 'make mocks' and commit changes."
git status mocks/
exit 1
fi
- name: Run Tests
run: |
git fetch origin develop
make test-smart BASE_REF=origin/develop