Skip to content

CXAI-33 connect to ai proxy via GRPC #73

CXAI-33 connect to ai proxy via GRPC

CXAI-33 connect to ai proxy via GRPC #73

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- master
- main
pull_request:
permissions:
contents: write
pull-requests: write
checks: write
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
env:
GOPRIVATE: github.com/checkmarxDev/*,github.com/checkmarxDev/*
GH_RW_CXDEV_TOKEN: ${{ secrets.GH_RW_CXDEV_TOKEN }}
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false
- run: git config --global url.https://${{ secrets.GH_RW_CXDEV_TOKEN }}@github.com/.insteadOf https://github.com
# - run: go mod tidy
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.55
#args: --timeout 3m --config .golangci.yml
# Optional: working directory, useful for monorepos
# working-directory: somedir
# Optional: golangci-lint command line arguments.
# args: --issues-exit-code=0
# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true
# Optional: if set to true then the all caching functionality will be complete disabled,
# takes precedence over all other caching options.
# skip-cache: true
# Optional: if set to true then the action don't cache or restore ~/go/pkg.
# skip-pkg-cache: true
# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
# skip-build-cache: true