Skip to content

Commit

Permalink
Merge pull request #621 from k1LoW/fix-ci
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
k1LoW authored Oct 1, 2024
2 parents a1cebf6 + 1ea2760 commit db281ac
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -40,14 +53,16 @@ jobs:
run: |
docker compose up -d
sleep 20s
docker compose ps
docker compose logs mssql
- name: Run lint
uses: reviewdog/action-golangci-lint@v2
with:
go_version_file: go.mod
reporter: github-pr-check

- name: Run tests
- name: Run test
run: make ci
env:
DEBUG: "true"
Expand Down
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit db281ac

Please sign in to comment.