From dc3b99e5c5bb5af7f388446f3a21ad1df046ff49 Mon Sep 17 00:00:00 2001 From: k1LoW Date: Tue, 1 Oct 2024 17:21:36 +0900 Subject: [PATCH 1/5] Update go directive --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 43366bf9..99311092 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/k1LoW/tbls -go 1.22.2 +go 1.22.7 require ( cloud.google.com/go/bigquery v1.62.0 From 604a3082c162c87001cb7bf2c2660fe066e47769 Mon Sep 17 00:00:00 2001 From: k1LoW Date: Tue, 1 Oct 2024 17:42:14 +0900 Subject: [PATCH 2/5] Free disk space --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b27d9fa3..8ee9e898 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,19 @@ jobs: run: | sudo apt-get update sudo apt-get install sqlite3 + sudo apt-get clean + sudo rm -rf /var/lib/apt/lists/* + + - name: Free disk space + uses: jlumbroso/free-disk-space@main + with: + tool-cache: false + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: true - name: Install aws-cli uses: isbang/setup-awscli@v0.1.0 From 3db9486cdb30a4ebc821c02d0188705108986e7b Mon Sep 17 00:00:00 2001 From: k1LoW Date: Tue, 1 Oct 2024 17:57:17 +0900 Subject: [PATCH 3/5] bonsai --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ee9e898..bba049cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,9 +28,9 @@ jobs: android: true dotnet: true haskell: true - large-packages: true - docker-images: true - swap-storage: true + large-packages: false + docker-images: false + swap-storage: false - name: Install aws-cli uses: isbang/setup-awscli@v0.1.0 @@ -53,6 +53,7 @@ jobs: run: | docker compose up -d sleep 20s + docker compose ps - name: Run lint uses: reviewdog/action-golangci-lint@v2 @@ -60,7 +61,7 @@ jobs: go_version_file: go.mod reporter: github-pr-check - - name: Run tests + - name: Run test run: make ci env: DEBUG: "true" From 5bff26fbec039fdb40f7bf84627b24665b40c20f Mon Sep 17 00:00:00 2001 From: k1LoW Date: Tue, 1 Oct 2024 18:03:47 +0900 Subject: [PATCH 4/5] Add debug code --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bba049cf..38588a6a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,6 +54,7 @@ jobs: docker compose up -d sleep 20s docker compose ps + docker compose logs mssql - name: Run lint uses: reviewdog/action-golangci-lint@v2 From 1ea2760b5ed0a046f4723c31d3748fcc6277ac88 Mon Sep 17 00:00:00 2001 From: k1LoW Date: Tue, 1 Oct 2024 18:58:52 +0900 Subject: [PATCH 5/5] Use 2019-latest --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index 26de5a98..626f5a87 100644 --- a/compose.yml +++ b/compose.yml @@ -47,7 +47,7 @@ services: - MYSQL_DATABASE=testdb - MYSQL_ROOT_PASSWORD=mypass mssql: - image: mcr.microsoft.com/mssql/server:2017-latest + image: mcr.microsoft.com/mssql/server:2019-latest restart: always ports: - "11433:1433"