Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: use self-hosted for golangci (#7282)

Danny Xu3d0995a5430a
diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml
index d95aa1a890..3ef1b33267 100644
--- a/.github/workflows/backend-tests.yml
+++ b/.github/workflows/backend-tests.yml
@@ -10,7 +10,7 @@ on:
jobs:
golangci-lint:
- runs-on: macos-latest
+ runs-on: self-hosted
timeout-minutes: 20
steps:
- name: Checkout
@@ -26,15 +26,9 @@ jobs:
run: |
go mod tidy
git diff --exit-code
- - name: Cache MySQL
- uses: actions/cache@v3
- with:
- path: |
- ./backend/resources/mysql/*.tar.gz
- ./backend/resources/mysql/*.tar.xz
- key: ${{ runner.OS }}-build-mysql-cache
- name: Install dependencies
- run: go generate -tags mysql ./...
+ run: |
+ touch ./backend/resources/mysql/mysql-8.0.28-linux-glibc2.17-x86_64-minimal.tar.xz
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with: