Live video on the AT Protocol
79
fork

Configure Feed

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

at v0.9.7 41 lines 1.2 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: Maximize build space 13 run: | 14 sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL 15 16 - name: Check out code 17 uses: actions/checkout@v4.1.7 18 with: 19 fetch-depth: 0 20 fetch-tags: true 21 ref: ${{ github.event.pull_request.head.sha }} 22 23 - name: Log in to the Container registry 24 uses: docker/login-action@v2 25 with: 26 registry: ghcr.io 27 username: ${{ github.actor }} 28 password: ${{ github.token }} 29 30 - name: run build for linting 31 run: | 32 sudo apt install podman -y 33 sudo ln -s $(realpath ./hack/golangci-lint) /usr/bin/golangci-lint 34 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" 35 36 - name: golangci-lint 37 uses: golangci/golangci-lint-action@v8 38 with: 39 version: v2.1 40 args: --config=./.golangci.yaml 41 install-mode: none