Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/backend-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,15 @@ jobs:
go env -w GOPROXY=https://goproxy.cn,direct
go mod download

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
working-directory: backend
- name: Prepare upstream base for lint-diff
run: |
if ! git remote get-url upstream >/dev/null 2>&1; then
git remote add upstream https://github.com/raids-lab/crater.git
fi
git fetch upstream main:refs/remotes/upstream/main --depth=1

- name: Run make lint
run: make lint

build_backend:
runs-on: ubuntu-latest
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/storage-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,15 @@ jobs:
go env -w GOPROXY=https://goproxy.cn,direct
go mod download

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
working-directory: backend
- name: Prepare upstream base for lint-diff
run: |
if ! git remote get-url upstream >/dev/null 2>&1; then
git remote add upstream https://github.com/raids-lab/crater.git
fi
git fetch upstream main:refs/remotes/upstream/main --depth=1

- name: Run make lint
run: make lint

build_storage_server:
runs-on: ubuntu-latest
Expand Down