Merge pull request '[CI] Forgejo Actions based CI for PR & branches (squash) lint workflows' (#1989) from earl-warren/forgejo:wip-ci-lint into forgejo-ci

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1989
Reviewed-by: Loïc Dachary <dachary@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
Gusted 2023-12-19 20:47:21 +00:00
commit d9cde3e346
3 changed files with 3 additions and 3 deletions

View file

@ -80,7 +80,7 @@ jobs:
for suffix in '' '.xz' ; do for suffix in '' '.xz' ; do
curl --fail -L -sS $url/root/forgejo/releases/download/v$version/$binary$suffix > $binary$suffix curl --fail -L -sS $url/root/forgejo/releases/download/v$version/$binary$suffix > $binary$suffix
if test "$suffix" = .xz ; then if test "$suffix" = .xz ; then
unxz --keep $binary$suffix unxz --keep $binary$suffix
fi fi
chmod +x $binary chmod +x $binary
./$binary --version | grep $version ./$binary --version | grep $version

View file

@ -28,7 +28,7 @@
# #
name: Pubish release name: Pubish release
on: on:
push: push:
tags: 'v*' tags: 'v*'

View file

@ -400,7 +400,7 @@ lint-go-vet:
.PHONY: lint-editorconfig .PHONY: lint-editorconfig
lint-editorconfig: lint-editorconfig:
$(GO) run $(EDITORCONFIG_CHECKER_PACKAGE) templates .github/workflows $(GO) run $(EDITORCONFIG_CHECKER_PACKAGE) templates .forgejo/workflows
.PHONY: lint-actions .PHONY: lint-actions
lint-actions: lint-actions: