From 8575c22886e5dda60843e9ca4f30fc48798756aa Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Fri, 1 Dec 2023 13:17:02 +0300 Subject: [PATCH] Regenerate Makefile with the latest version of gomakegen --- .github/workflows/ci.yml | 14 -------------- Makefile | 5 +++-- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 424116c..933bcc2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,10 +27,6 @@ jobs: name: Go runs-on: ubuntu-latest - env: - SRC_DIR: src/github.com/${{ github.repository }} - GO111MODULE: auto - strategy: matrix: go: [ '1.18.x', '1.19.x', '1.20.x', '1.21.x' ] @@ -38,26 +34,16 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - path: ${{env.SRC_DIR}} - name: Set up Go uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} - - name: Setup PATH - run: | - echo "GOPATH=${{ github.workspace }}" >> "$GITHUB_ENV" - echo "GOBIN=${{ github.workspace }}/bin" >> "$GITHUB_ENV" - echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH" - - name: Download dependencies - working-directory: ${{env.SRC_DIR}} run: make deps - name: Build binary - working-directory: ${{env.SRC_DIR}} run: make all - name: Run tests diff --git a/Makefile b/Makefile index 9536ef4..278857d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ ################################################################################ -# This Makefile generated by GoMakeGen 2.2.0 using next command: +# This Makefile generated by GoMakeGen 2.3.0 using next command: # gomakegen --mod --strip . # # More info: https://kaos.sh/gomakegen @@ -13,6 +13,7 @@ ifdef VERBOSE ## Print verbose information (Flag) VERBOSE_FLAG = -v endif +COMPAT ?= 1.18 MAKEDIR = $(dir $(realpath $(firstword $(MAKEFILE_LIST)))) GITREV ?= $(shell test -s $(MAKEDIR)/.git && git rev-parse --short HEAD) @@ -94,6 +95,6 @@ help: ## Show this info | sed 's/ifdef //' \ | awk 'BEGIN {FS = " .*?## "}; {printf " \033[32m%-14s\033[0m %s\n", $$1, $$2}' @echo -e '' - @echo -e '\033[90mGenerated by GoMakeGen 2.2.0\033[0m\n' + @echo -e '\033[90mGenerated by GoMakeGen 2.3.0\033[0m\n' ################################################################################