Skip to content

fix: match geography/geometry OIDs correctly (#4) #27

fix: match geography/geometry OIDs correctly (#4)

fix: match geography/geometry OIDs correctly (#4) #27

Workflow file for this run

name: main
on:
pull_request:
push:
branches:
- master
tags:
- v*
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: install-dependencies
run: |
sudo apt-get install -y libgeos-dev postgis postgresql
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
- run: go build ./...
- name: init-database
run: |
sudo systemctl start postgresql.service
sudo -u postgres createuser -s "${USER}"
createdb "${USER}"
- run: go test ./...
lint:
runs-on: ubuntu-latest
steps:
- name: install-dependencies
run: |
sudo apt-get install -y libgeos-dev
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
- uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64
with:
version: v1.59.0