Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading