mirror of
https://github.com/foomo/squadron.git
synced 2025-10-16 12:35:42 +00:00
Compare commits
4 Commits
4e50f84fc4
...
cf307f134b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf307f134b | ||
|
|
4e67f27717 | ||
|
|
22a8cb1ee5 | ||
|
|
29cb613c88 |
79
.github/dependabot.yml
vendored
79
.github/dependabot.yml
vendored
@ -1,50 +1,43 @@
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/refs/heads/master/src/schemas/json/dependabot-2.0.json
|
||||
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference
|
||||
version: 2
|
||||
|
||||
updates:
|
||||
- package-ecosystem: 'github-actions'
|
||||
- package-ecosystem: github-actions
|
||||
open-pull-requests-limit: 1
|
||||
multi-ecosystem-groups: updates
|
||||
patterns: ['*']
|
||||
commit-message: { prefix: chore(deps) }
|
||||
directory: '/'
|
||||
groups:
|
||||
security:
|
||||
patterns: ['*']
|
||||
applies-to: security-updates
|
||||
|
||||
- package-ecosystem: 'bun'
|
||||
open-pull-requests-limit: 1
|
||||
multi-ecosystem-groups: updates
|
||||
directory: '/'
|
||||
groups:
|
||||
security:
|
||||
patterns: ['*']
|
||||
applies-to: security-updates
|
||||
|
||||
- package-ecosystem: 'gomod'
|
||||
open-pull-requests-limit: 1
|
||||
multi-ecosystem-groups: updates
|
||||
directories: ['**/*']
|
||||
patterns: ['*']
|
||||
groups:
|
||||
security:
|
||||
applies-to: security-updates
|
||||
patterns: ['*']
|
||||
|
||||
- package-ecosystem: 'helm'
|
||||
open-pull-requests-limit: 1
|
||||
multi-ecosystem-groups: updates
|
||||
directories: ['**/*']
|
||||
patterns: ['*']
|
||||
groups:
|
||||
security:
|
||||
applies-to: security-updates
|
||||
patterns: ['*']
|
||||
|
||||
multi-ecosystem-groups:
|
||||
updates:
|
||||
schedule:
|
||||
day: 'sunday'
|
||||
interval: 'weekly'
|
||||
commit-message:
|
||||
prefix: 'deps'
|
||||
day: sunday
|
||||
interval: weekly
|
||||
timezone: Europe/Berlin
|
||||
cooldown:
|
||||
default-days: 1
|
||||
include: [ '*' ]
|
||||
|
||||
- package-ecosystem: gomod
|
||||
open-pull-requests-limit: 1
|
||||
commit-message: { prefix: chore(deps) }
|
||||
directories: [ '**/*' ]
|
||||
schedule:
|
||||
day: sunday
|
||||
interval: weekly
|
||||
timezone: Europe/Berlin
|
||||
groups:
|
||||
security:
|
||||
applies-to: security-updates
|
||||
update-types: [ minor, patch ]
|
||||
patterns: [ '*' ]
|
||||
updates:
|
||||
applies-to: version-updates
|
||||
update-types: [ minor, patch ]
|
||||
patterns: [ '*' ]
|
||||
ignore:
|
||||
- dependency-name: '*'
|
||||
update-types: [ 'version-update:semver-major' ]
|
||||
cooldown:
|
||||
default-days: 1
|
||||
semver-major-days: 14
|
||||
semver-minor-days: 7
|
||||
semver-patch-days: 1
|
||||
include: [ '*' ]
|
||||
|
||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -39,7 +39,3 @@ jobs:
|
||||
run: make test
|
||||
env:
|
||||
SHELL: "/bin/zsh"
|
||||
|
||||
- uses: coverallsapp/github-action@v2
|
||||
with:
|
||||
file: coverage.out
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
version: "2"
|
||||
|
||||
run:
|
||||
go: 1.25.0
|
||||
build-tags: [safe]
|
||||
modules-download-mode: readonly
|
||||
|
||||
linters:
|
||||
default: none
|
||||
enable:
|
||||
|
||||
17
Makefile
17
Makefile
@ -10,10 +10,15 @@
|
||||
.PHONY: .mise
|
||||
# Install dependencies
|
||||
.mise:
|
||||
@mise install
|
||||
@command -v mise >/dev/null 2>&1 || { echo >&2 "Error: 'mise' is not installed or not in PATH."; exit 1; }
|
||||
@mise install -q
|
||||
|
||||
### Tasks
|
||||
|
||||
.PHONY: check
|
||||
## Run tests and linters
|
||||
check: tidy lint test
|
||||
|
||||
.PHONY: doc
|
||||
## Run tests
|
||||
doc:
|
||||
@ -65,18 +70,18 @@ build:
|
||||
.PHONY: help
|
||||
## Show help text
|
||||
help:
|
||||
@echo "\033[1;36mSquadron | Compose for Kubernetes\033[0m"
|
||||
@echo "Squadron | Compose for Kubernetes\n"
|
||||
@echo "Usage:\n make [task]"
|
||||
@awk '{ \
|
||||
if($$0 ~ /^### /){ \
|
||||
if(help) printf "\033[36m%-23s\033[0m %s\n\n", cmd, help; help=""; \
|
||||
printf "\n\033[1;36m%s\033[0m\n", substr($$0,5); \
|
||||
if(help) printf "%-23s %s\n\n", cmd, help; help=""; \
|
||||
printf "\n%s:\n", substr($$0,5); \
|
||||
} else if($$0 ~ /^[a-zA-Z0-9._-]+:/){ \
|
||||
cmd = substr($$0, 1, index($$0, ":")-1); \
|
||||
if(help) printf " \033[36m%-23s\033[0m %s\n", cmd, help; help=""; \
|
||||
if(help) printf " %-23s %s\n", cmd, help; help=""; \
|
||||
} else if($$0 ~ /^##/){ \
|
||||
help = help ? help "\n " substr($$0,3) : substr($$0,3); \
|
||||
} else if(help){ \
|
||||
print "\n " help "\n"; help=""; \
|
||||
} \
|
||||
}' $(MAKEFILE_LIST)
|
||||
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
[](https://github.com/foomo/squadron/actions/workflows/pr.yml)
|
||||
[](https://goreportcard.com/report/github.com/foomo/squadron)
|
||||
[](https://coveralls.io/github/foomo/squadron?branch=main)
|
||||
[](https://godoc.org/github.com/foomo/squadron)
|
||||
|
||||
<p align="center">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user