Fix panic error due to file already closed in stats mode #7721
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🧪 Functional Test | |
on: | |
pull_request: | |
paths: | |
- '**.go' | |
workflow_dispatch: | |
jobs: | |
functional: | |
name: Functional Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: projectdiscovery/actions/setup/go@v1 | |
- name: Functional Tests | |
env: | |
GH_ACTION: true | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
run: | | |
chmod +x run.sh | |
bash run.sh ${{ matrix.os }} | |
working-directory: cmd/functional-test |