diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c5cff593..33673afc 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,6 +2,8 @@ name: Go on: push: + paths: + - '**.go' branches: - master - develop @@ -20,12 +22,10 @@ jobs: uses: actions/checkout@v3 - name: Setup Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: '^1.21' - - - name: Get dependencies - run: go mod download + cache: false - name: Run golangci-lint uses: golangci/golangci-lint-action@v4