Skip to content

Merge pull request #2 from orhun/master #47

Merge pull request #2 from orhun/master

Merge pull request #2 from orhun/master #47

Workflow file for this run

name: lint
on: push
jobs:
golangci:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Run Golangci Linter
uses: golangci/golangci-lint-action@v2.3.0
gomod:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.17
id: go
- name: Checkout Repository
uses: actions/checkout@v2
- run: make lint-gomod
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Run Check
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: check
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Linting Dockerfile
uses: brpaz/hadolint-action@master
with:
dockerfile: 'docker/Dockerfile'
- name: Linting dev.lint.Dockerfile
uses: brpaz/hadolint-action@master
with:
dockerfile: 'docker/dev.lint.Dockerfile'
in-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: make docker-lint