Skip to content

Bump actions/checkout from 3 to 4 #1

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #1

Workflow file for this run

name: "linter"
on:
push:
branches:
- master
paths:
- "**.go"
- "go.mod"
pull_request:
branches:
- "**"
jobs:
golangci:

Check failure on line 15 in .github/workflows/linter.yaml

View workflow run for this annotation

GitHub Actions / linter

Invalid workflow file

The workflow is not valid. .github/workflows/linter.yaml (Line: 15, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs: tests
steps:
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
args: --timeout=5m --tests=false
semgrep:
runs-on: ubuntu-latest
needs: tests
container:
image: returntocorp/semgrep
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v4
- run: semgrep ci
env:
SEMGREP_RULES: auto