Skip to content

Upgrade to aws-sdk-go-v2 #70

Upgrade to aws-sdk-go-v2

Upgrade to aws-sdk-go-v2 #70

Workflow file for this run

name: reviewdog
on: [push, pull_request]
jobs:
# NOTE: golangci-lint doesn't report multiple errors on the same line from
# different linters and just report one of the errors?
golangci-lint:
name: runner / golangci-lint
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: golangci-lint
# uses: docker://reviewdog/action-golangci-lint:v1 # Pre-built image
uses: reviewdog/action-golangci-lint@v1 # Build with Dockerfile
with:
github_token: ${{ secrets.github_token }}
# Can pass --config flag to change golangci-lint behavior and target
# directory.
golangci_lint_flags: "--enable-all --exclude-use-default=false -D wsl -D testpackage --test=false"
# Use golint via golangci-lint binary with "warning" level.
golint:
name: runner / golint
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: golint
uses: reviewdog/action-golangci-lint@v1
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--disable-all -E golint --test=false"
tool_name: golint # Change reporter name.
level: warning # GitHub Status Check won't become failure with this level.