Skip to content

Merge pull request #122 from MUzairS15/version #318

Merge pull request #122 from MUzairS15/version

Merge pull request #122 from MUzairS15/version #318

Workflow file for this run

name: Default Meshery Adapter Library Workflow
on:
push:
branches:
- '**'
tags:
- 'v*'
pull_request:
branches:
- 'master'
jobs:
golangci:
name: golangci-lint
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19'
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.52
# Optional: working directory, useful for monorepos
# working-directory: somedir
# Optional: golangci-lint command line arguments.
args: --exclude=G306
# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true