Skip to content

Create the flatmap package #3673

Create the flatmap package

Create the flatmap package #3673

Workflow file for this run

name: go lint
on: [push]
jobs:
sdk-go-lint:
runs-on: ubuntu-latest
# Use a matrix strategy to test all the modules simultaneously.
strategy:
fail-fast: false
matrix:
MOD_PATH:
[
./,
./measure/google,
./measure/here,
./measure/osrm,
./measure/routingkit,
]
steps:
- name: git clone
uses: actions/checkout@v4
- name: determine Go version
run: |
export GO_VERSION=$(cat workflow-configuration.yml | yq '.go-version' -r)
echo "Using Go version $GO_VERSION"
echo "GO_VERSION=${GO_VERSION}" >> $GITHUB_ENV
- name: set up go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.56.2
working-directory: ${{ matrix.MOD_PATH }}