Replace more use of default slog handler with logger from context #2928
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GolangCI-Lint | |
on: | |
pull_request: | |
branches: [main] | |
paths: [flow/**] | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
name: lint | |
runs-on: [ubicloud-standard-4-ubuntu-2204-arm] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: bufbuild/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: setup protos | |
run: | | |
./generate_protos.sh | |
- name: install lib-geos | |
run: | | |
sudo apt-get update | |
sudo apt-get install libgeos-dev | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
cache: false | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.55 | |
working-directory: ./flow | |
args: --timeout=10m |