Go Install Check #170
This file contains hidden or 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: Go Install Check | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| schedule: | |
| - cron: "0 0 * * 1" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: "1.25" | |
| - name: Install chromium | |
| run: | | |
| sudo apt-get update && \ | |
| sudo apt-get install -y \ | |
| ca-certificates chromium \ | |
| - name: Install gowitness | |
| run: | | |
| go install ./... | |
| - name: Verify Installation | |
| run: | | |
| gowitness scan single -u https://sensepost.com --write-jsonl | |
| - name: Generate a static report | |
| run: | | |
| gowitness report generate --json-file gowitness.jsonl |