diff --git a/.github/workflows/osm.yml b/.github/workflows/osm.yml new file mode 100644 index 0000000..a436718 --- /dev/null +++ b/.github/workflows/osm.yml @@ -0,0 +1,26 @@ +name: OpenStreetMap + +on: + push: + branches: + - feature/osm + +jobs: + e2e: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + with: + submodules: recursive + + - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 + with: + go-version: ^1.21.0 + - run: go run ./downloader/03_osm.go ./downloader/osm + + - name: Setup Bun + uses: oven-sh/setup-bun@a1800f471a0bc25cddac36bb13e6f436ddf341d7 # v1 + - name: Build demo/parser CLI + run: bun install && npm run bun:build + working-directory: demo/parser + - run: php transformers/osm/split.php diff --git a/go.mod b/go.mod index 934e70b..762348a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/daohoangson/dvhcvn -go 1.20 +go 1.21 require ( github.com/paulmach/orb v0.1.3