Files
offline-map-tile-downloader/.github/workflows/ci.yml
T
dependabot[bot] 3eb4c2f56f Build(deps): Bump actions/setup-go from 5 to 6
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 12:53:48 +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@v5
# 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