Skip to content

Ignore unique constraint violation during CREATE IF NOT EXISTS #2097

Ignore unique constraint violation during CREATE IF NOT EXISTS

Ignore unique constraint violation during CREATE IF NOT EXISTS #2097

Workflow file for this run

name: GolangCI-Lint
on:
pull_request:
branches: [main]
paths: [flow/**]
jobs:
golangci-lint:
permissions:
checks: write
contents: read
pull-requests: write
strategy:
matrix:
runner: [ubicloud-standard-4-ubuntu-2204-arm]
runs-on: ${{ matrix.runner }}
steps:
- name: checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
with:
workdir: ./flow
reporter: github-pr-review
github_token: ${{ secrets.GITHUB_TOKEN }}
golangci_lint_flags: "--timeout 10m"
fail_on_error: true
env:
REVIEWDOG_TOKEN: ${{ secrets.REVIEWDOG_TOKEN }}