Skip to content

getRolloutsCommandArgs should return an error from the call to isMergable, rather than burying the error #460

getRolloutsCommandArgs should return an error from the call to isMergable, rather than burying the error

getRolloutsCommandArgs should return an error from the call to isMergable, rather than burying the error #460

Workflow file for this run

name: Lint code
on:
push:
branches:
- 'main'
- 'release-*'
pull_request:
branches:
- '*'
jobs:
lint_code:
name: Run golangci-lint and gosec
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Golang
uses: actions/[email protected]
with:
go-version-file: './go.mod'
- name: "run gosec"
run: |
cd $GITHUB_WORKSPACE
make gosec
- name: "run golangci-lint"
run: |
cd $GITHUB_WORKSPACE
make lint