name: Detectors Aggregation on: workflow_dispatch: schedule: - cron: "0 8 * * *" jobs: test-detectors: if: ${{ github.repository == 'trufflesecurity/trufflehog' }} runs-on: ubuntu-latest permissions: actions: "read" contents: "read" id-token: "write" steps: - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 - name: Install gotestsum uses: jaxxstorm/action-install-gh-release@25e24d2d23ae098373794ef1d6faecb48ee52da8 # v3.0.0 with: repo: gotestyourself/gotestsum - uses: rwx-research/setup-captain@f761ee3671e4c027299f8a5842a53fba8ddd8e37 # v1.4.1 - name: Test Go run: | export CGO_ENABLED=1 captain run detectors env: RWX_ACCESS_TOKEN: ${{ secrets.RWX_ACCESS_TOKEN }}