Skip to content

chore: update dependencies #35

chore: update dependencies

chore: update dependencies #35

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@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
- 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@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
- uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86
with:
version: v1.60.3