Skip to content

chore: update project infrastructure #95

chore: update project infrastructure

chore: update project infrastructure #95

Workflow file for this run

name: main
on:
pull_request:
push:
branches:
- master
tags:
- v*
jobs:
main:
strategy:
fail-fast: false
matrix:
go-version:
- stable
- oldstable
runs-on:
- ubuntu-20.04
- ubuntu-22.04
runs-on: ${{ matrix.runs-on }}
steps:
- name: install-dependencies
run: |
sudo apt-get install -y libproj-dev
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: go test -race ./...
lint:
runs-on: ubuntu-22.04
steps:
- name: install-dependencies
run: |
sudo apt-get install -y libproj-dev
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
with:
cache: true
go-version: stable
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8
with:
version: v1.62.2