Skip to content

feat(vpc): [123456789] support reserve ip address #4715

feat(vpc): [123456789] support reserve ip address

feat(vpc): [123456789] support reserve ip address #4715

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: golangci-lint
# Controls when the workflow will run
on:
pull_request:
paths:
- tencentcloud/**
- .github/**
- .golangci.yml
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
golangci-lint:
# The type of runner that the job will run on
runs-on: macos-12
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
#go-version: '1.21'
cache: false
# Runs a set of commands using the runners shell
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.45.2
#version: v1.54
working-directory: ./tencentcloud
args: --new-from-rev=origin/master -v
#args: --enable-all --max-same-issues=0 --max-issues-per-linter=0 --new-from-rev=origin/master -v