fix(rpmutils): add Dist filtering to transitive dependency resolution #1028
This file contains hidden or 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: Go Lint | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - '**.go' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '**/*.go' | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| name: Linting | |
| runs-on: ["ubuntu-latest"] | |
| container: ubuntu:24.04 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Install dependencies | |
| run: | | |
| apt-get update | |
| apt-get install -y curl ca-certificates | |
| update-ca-certificates | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: '1.24' | |
| - name: Install golangci-lint | |
| run: | | |
| curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./bin v1.64.2 | |
| echo "$PWD/bin" >> $GITHUB_PATH | |
| - name: Run golangci-lint | |
| run: golangci-lint run ./... | |