Enhance scan error handling and add tests for scan functionality #1098
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: CI Docker | |
on: | |
push: | |
branches: [main] | |
paths: | |
- cmd/**/* | |
- pkg/**/* | |
- lib/**/* | |
- go.mod | |
- dalfox.go | |
- Dockerfile | |
pull_request: | |
branches: [main] | |
paths: | |
- cmd/**/* | |
- pkg/**/* | |
- lib/**/* | |
- go.mod | |
- dalfox.go | |
- Dockerfile | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build the Docker image | |
run: docker build . --file Dockerfile --tag hahwul/dalfox:$(date +%s) |