From 18e5522f90c0cb7a22db810200d47f678e7b3d84 Mon Sep 17 00:00:00 2001 From: appleboy Date: Sun, 14 Apr 2024 13:09:31 +0000 Subject: [PATCH] ci: update Gitea versions in workflows and Makefile (#657) - Update Gitea Docker image version from `1.21.8` to `1.21.10` in testing workflow - Update Gitea version from `1.21.1` to `1.21.10` in Makefile Signed-off-by: appleboy Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/657 Reviewed-by: Lunny Xiao Co-authored-by: appleboy Co-committed-by: appleboy --- .gitea/workflows/testing.yml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/testing.yml b/.gitea/workflows/testing.yml index a7a7bd2..cf1c8fe 100644 --- a/.gitea/workflows/testing.yml +++ b/.gitea/workflows/testing.yml @@ -28,7 +28,7 @@ jobs: - run: make test services: gitea: - image: gitea/gitea:1.21.8 + image: gitea/gitea:1.21.10 cmd: - bash - -c diff --git a/Makefile b/Makefile index d19ef90..cf81242 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ GOFUMPT_PACKAGE ?= mvdan.cc/gofumpt@v0.4.0 GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.0 GITEA_VET_PACKAGE ?= code.gitea.io/gitea-vet@v0.2.1 -GITEA_VERSION := 1.21.1 +GITEA_VERSION := 1.21.10 GITEA_DL := https://dl.gitea.com/gitea/$(GITEA_VERSION)/gitea-$(GITEA_VERSION)- UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Linux) @@ -72,7 +72,7 @@ vet: cd gitea && $(GO) vet -vettool=gitea-vet $(PACKAGE) .PHONY: ci-lint -ci-lint: +ci-lint: @cd gitea/; echo -n "gofumpt ...";\ diff=$$($(GO) run $(GOFUMPT_PACKAGE) -extra -l .); \ if [ -n "$$diff" ]; then \