Files
offline-map-tile-downloader/.github/workflows/ci.yml
T
dependabot[bot] 6e2d7805d9 Build(deps): Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 14:02:06 +00:00

37 lines
862 B
YAML

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
name: Test
# https://github.com/actions/virtual-environments/
runs-on: ubuntu-latest
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v6
# https://github.com/marketplace/actions/setup-go-environment
- name: 🔧 Setup go
uses: actions/setup-go@v6
- name: 🧝‍♀️ Check formatting
run: |
if [ "$(gofmt -l . | wc -l)" -gt 0 ]; then
echo "Go files are not formatted:"
gofmt -d .
exit 1
fi
# https://github.com/marketplace/actions/run-golangci-lint
- name: 🌡️ Lint
uses: golangci/golangci-lint-action@v8
- name: 🍳 Build
run: make native
- name: 🌡️ Test
run: ./offline-map-tile-downloader --help