name: Main on: push: branches: - main - master pull_request: branches: - main - master jobs: main: name: Main Process runs-on: ubuntu-latest env: GO_VERSION: stable GOLANGCI_LINT_VERSION: v2.6 CGO_ENABLED: 0 steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - name: Check and get dependencies run: | go mod tidy git diff --exit-code go.mod git diff --exit-code go.sum go mod download - uses: golangci/golangci-lint-action@v9 with: install-only: true version: ${{ env.GOLANGCI_LINT_VERSION }} - name: Make run: make