Skip to content

fix: add a copy method to the policy context #15057

fix: add a copy method to the policy context

fix: add a copy method to the policy context #15057

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Lint
permissions: {}
on:
push:
branches:
- '*'
pull_request:
branches:
- 'main'
- 'release*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup caches
uses: ./.github/actions/setup-caches
timeout-minutes: 5
continue-on-error: true
with:
build-cache-key: lint
- name: Setup build env
uses: ./.github/actions/setup-build-env
timeout-minutes: 10
- name: golangci-lint
uses: golangci/golangci-lint-action@23faadfdeb23a6f9e511beaba149bb123b5b145a # v3.7.1
with:
version: v1.54.2
skip-cache: true
- name: go fmt check
run: make fmt-check
- name: goimports check
run: make imports-check
- name: Checking unused pkgs using go mod tidy
run: make unused-package-check
- name: Go vet
run: make vet