Skip to content

fix docker ignore

fix docker ignore #26

Workflow file for this run

name: Lint Code
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # Checks project source code into the container
- uses: actions/setup-go@v4 # Sets up Go environment
with:
go-version: 1.22.2 # Use a more stable version of Go
- name: Install dependencies
run: go mod download
- name: Install golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin latest
- name: Lint code
run: golangci-lint run