Live video on the AT Protocol
79
fork

Configure Feed

Select the types of activity you want to include in your feed.

at natb/remove-lex-reference 37 lines 1.1 kB view raw
1name: golangci-lint 2 3on: 4 push: 5 pull_request: 6 7jobs: 8 golangci: 9 name: lint 10 runs-on: ubuntu-latest 11 steps: 12 - name: Check out code 13 uses: actions/checkout@v4.1.7 14 with: 15 fetch-depth: 0 16 fetch-tags: true 17 ref: ${{ github.event.pull_request.head.sha }} 18 19 - name: Log in to the Container registry 20 uses: docker/login-action@v2 21 with: 22 registry: ghcr.io 23 username: ${{ github.actor }} 24 password: ${{ github.token }} 25 26 - name: run build for linting 27 run: | 28 sudo apt install podman -y 29 sudo ln -s $(realpath ./hack/golangci-lint) /usr/bin/golangci-lint 30 make golangci-lint-container BUILDER_TARGET=builder-no-darwin DOCKER_BUILD_OPTS="--layers --cache-to ghcr.io/streamplace/streamplace --cache-from ghcr.io/streamplace/streamplace" 31 32 - name: golangci-lint 33 uses: golangci/golangci-lint-action@v8 34 with: 35 version: v2.1 36 args: --config=./.golangci.yaml 37 install-mode: none