diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..81312d2 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +version: 2 +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "weekly" + open-pull-requests-limit: 10 + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + open-pull-requests-limit: 10 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47ea55b..f3bdac2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,6 +93,28 @@ jobs: - name: Build run: go build ./cmd/discrawl + deps: + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - name: Checkout + uses: actions/checkout@v6.0.2 + + - name: Setup Go + uses: actions/setup-go@v6.3.0 + with: + go-version-file: go.mod + cache: true + + - name: Verify module cache + run: go mod verify + + - name: Install govulncheck + run: go install golang.org/x/vuln/cmd/govulncheck@v1.1.4 + + - name: Run govulncheck + run: "$(go env GOPATH)/bin/govulncheck" ./... + secrets: runs-on: ubuntu-latest timeout-minutes: 15