Skip to content

build(deps-dev): Bump @builder.io/qwik-city in /web #36

build(deps-dev): Bump @builder.io/qwik-city in /web

build(deps-dev): Bump @builder.io/qwik-city in /web #36

Workflow file for this run

name: Lint
on:
push:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
resolve-modules:
name: resolve module
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- id: set-matrix
run: ./hack/resolve-modules.sh
lint:
name: lint module
runs-on: ubuntu-latest
needs: resolve-modules
strategy:
matrix: ${{ fromJson(needs.resolve-modules.outputs.matrix) }}
container:
image: golang:1.18-alpine
options: --user root
steps:
- name: Install dependencies
run: |
apk add --no-cache bash build-base findutils git protobuf protobuf-dev tar
- name: Checkout repository
uses: actions/checkout@v3
- name: Trust repository
run: |
git config --global --add safe.directory "*"
- name: Setup buf
uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ github.token }}
- name: Setup cache
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Workspace
run: |
go work init
go work use -r ./app
go mod tidy
- name: Generate
run: |
make init
make api
make conf
make ent
make wire
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.50.0
working-directory: ${{ matrix.workdir }}
skip-pkg-cache: true