mirror of
https://github.com/ivuorinen/gibidify.git
synced 2026-02-13 09:49:21 +00:00
feat: update go to 1.25, add permissions and envs (#49)
* chore(ci): update go to 1.25, add permissions and envs * fix(ci): update pr-lint.yml * chore: update go, fix linting * fix: tests and linting * fix(lint): lint fixes, renovate should now pass * fix: updates, security upgrades * chore: workflow updates, lint * fix: more lint, checkmake, and other fixes * fix: more lint, convert scripts to POSIX compliant * fix: simplify codeql workflow * tests: increase test coverage, fix found issues * fix(lint): editorconfig checking, add to linters * fix(lint): shellcheck, add to linters * fix(lint): apply cr comment suggestions * fix(ci): remove step-security/harden-runner * fix(lint): remove duplication, apply cr fixes * fix(ci): tests in CI/CD pipeline * chore(lint): deduplication of strings * fix(lint): apply cr comment suggestions * fix(ci): actionlint * fix(lint): apply cr comment suggestions * chore: lint, add deps management
This commit is contained in:
@@ -1,14 +1,23 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
echo "Running golangci-lint..."
|
||||
golangci-lint run ./...
|
||||
|
||||
echo "Running revive..."
|
||||
revive -config revive.toml -formatter friendly ./...
|
||||
|
||||
echo "Running checkmake..."
|
||||
checkmake --config=.checkmake Makefile
|
||||
|
||||
echo "Running editorconfig-checker..."
|
||||
editorconfig-checker
|
||||
|
||||
echo "Running shellcheck..."
|
||||
shellcheck scripts/*.sh
|
||||
|
||||
echo "Running shfmt check..."
|
||||
shfmt -d .
|
||||
shfmt -d -i 0 -ci .
|
||||
|
||||
echo "Running yamllint..."
|
||||
yamllint -c .yamllint .
|
||||
yamllint .
|
||||
|
||||
Reference in New Issue
Block a user