Skip to content

feat: add dockerFile with linux/amd64 image only #6

feat: add dockerFile with linux/amd64 image only

feat: add dockerFile with linux/amd64 image only #6

Workflow file for this run

name: lint
on:
pull_request:
env:
GO_VERSION: '1.21.3'
jobs:
golangci-lint:
name: golangci-lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- uses: technote-space/[email protected]
with:
# This job will pass without running if go.mod, go.sum, and *.go
# wasn't modified.
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: golangci/[email protected]
with:
version: v1.54.2
args: --timeout 10m
github-token: ${{ secrets.github_token }}
if: env.GIT_DIFF