Files
offline-map-tile-downloader/.github/workflows/ci.yml
T
dependabot[bot] b62f361d12 Build(deps): Bump golangci/golangci-lint-action from 8 to 9
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 8 to 9.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v8...v9)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: '9'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 14:02:02 +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@v9
- name: 🍳 Build
run: make native
- name: 🌡️ Test
run: ./offline-map-tile-downloader --help