app: fetch from Tigris bucket by default instead of slow R2 build arc… #756
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Derived from planetiler (Apache License) | |
# https://github.com/onthegomap/planetiler/blob/main/.github/workflows/maven.yml | |
name: Maven CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test_and_lint: | |
name: Run unit tests and check formatting | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 21 | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Run unit tests | |
working-directory: tiles | |
run: mvn --batch-mode -no-transfer-progress test | |
- name: Ensure code formatted with mvn spotless:apply | |
working-directory: tiles | |
run: mvn spotless:check |