diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b27d9fa3..38588a6a 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: false + docker-images: false + swap-storage: false - name: Install aws-cli uses: isbang/setup-awscli@v0.1.0 @@ -40,6 +53,8 @@ jobs: run: | docker compose up -d sleep 20s + docker compose ps + docker compose logs mssql - name: Run lint uses: reviewdog/action-golangci-lint@v2 @@ -47,7 +62,7 @@ jobs: go_version_file: go.mod reporter: github-pr-check - - name: Run tests + - name: Run test run: make ci env: DEBUG: "true" 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" 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