diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16f57b5..f852d83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,13 @@ jobs: - name: go test run: go test ./... + - name: Upload GeoLite2 artifact + uses: actions/upload-artifact@v4 + with: + name: geolite2-city-mmdb + path: data/GeoLite2-City.mmdb + if-no-files-found: error + lint: name: Lint runs-on: ubuntu-latest @@ -65,6 +72,12 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - name: Download GeoLite2 artifact + uses: actions/download-artifact@v4 + with: + name: geolite2-city-mmdb + path: data + - name: Build Docker image (no push) if: github.event_name == 'pull_request' uses: docker/build-push-action@v6