Skip to content

Commit bc14422

Browse files
committed
feat: initial commit
0 parents  commit bc14422

19 files changed

+883
-0
lines changed

.dockerignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.github
2+
.venv
3+
.vscode
4+
example
5+
.editorconfig
6+
.git
7+
.gitignore
8+
.idea
9+
.envrc*
10+
.markdownlint-cli2.yaml
11+
.pre-commit-config.yaml
12+
.mise*
13+
.prettierrc
14+
.goreleaser.yaml
15+
.python-version
16+
.tp.toml
17+
.typos.toml
18+
dev-requirements.txt
19+
gh-tp
20+
README.md
21+
gh-actlock
22+
*.exe

.github/dependabot.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "pip"
4+
directory: "/"
5+
groups:
6+
python-minor-and-patch:
7+
update-types:
8+
- "minor"
9+
- "patch"
10+
schedule:
11+
interval: "weekly"
12+
day: "friday"
13+
time: "19:00"
14+
timezone: "America/Chicago"
15+
16+
- package-ecosystem: "github-actions"
17+
directory: "/"
18+
schedule:
19+
interval: "weekly"
20+
day: "friday"
21+
time: "19:00"
22+
timezone: "America/Chicago"
23+
24+
- package-ecosystem: "docker"
25+
directory: "/"
26+
schedule:
27+
interval: "weekly"
28+
day: "friday"
29+
time: "19:00"
30+
timezone: "America/Chicago"

.github/release.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- ignore-changelog
5+
6+
categories:
7+
- title: ":warning: Update considerations and deprecations"
8+
labels:
9+
- "type: breaking"
10+
- "type: deprecation"
11+
- "type: regression"
12+
- "type: revert"
13+
14+
- title: ":rocket: New features and improvements"
15+
labels:
16+
- "type: release"
17+
- "type: feat"
18+
- "type: enhancement"
19+
- "type: refactor"
20+
- "type: perf"
21+
22+
- title: ":lady_beetle: Bug fixes"
23+
labels:
24+
- "type: fix"
25+
26+
- title: ":nail_care: Style, UI, UX"
27+
labels:
28+
- "type: style"
29+
30+
- title: ":book: Documentation"
31+
labels:
32+
- "type: docs"
33+
34+
- title: ":hammer: Build/Test Dependency Upgrades"
35+
labels:
36+
- "type: dependencies"
37+
- "dependencies"
38+
- "type: test"
39+
- "type: ci"
40+
- "type: build"
41+
- "type: chore"
42+
- "type: task"

.github/workflows/build.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Build and Push Docker Image
2+
3+
on:
4+
schedule:
5+
# Run at 9:00 AM Central Time (US/Chicago) every Friday
6+
- cron: '0 14 * * 5'
7+
8+
# Allow manual triggering
9+
workflow_dispatch:
10+
11+
jobs:
12+
build-and-push:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
17+
18+
- name: Set up Docker Buildx
19+
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 #v3.10.0
20+
21+
- name: Log in to Docker Hub
22+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 #v3.4.0
23+
with:
24+
username: esacteksab
25+
password: ${{ secrets.DOCKERHUB_TOKEN }}
26+
27+
# Get current date in YYYY-MM-DD format
28+
- name: Get current date
29+
id: date
30+
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
31+
32+
- name: Build and push Docker image
33+
uses: docker/build-push-action@14487ce63c7a62a4a324b0bfb37086795e31c6c1 #v6.16.0
34+
with:
35+
context: .
36+
push: true
37+
tags: |
38+
esacteksab/go:latest
39+
esacteksab/go:${{ vars.GO_VERSION }}
40+
esacteksab/go:${{ vars.GO_VERSION }}-${{ steps.date.outputs.date }}
41+
build-args: |
42+
GO_VERSION=${{ vars.GO_VERSION }}
43+
cache-from: type=gha
44+
cache-to: type=gha,mode=max

.github/workflows/pre-commit.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Pre-Commit
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- "main"
7+
push:
8+
branches:
9+
- "*"
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref_name }}
13+
cancel-in-progress: true
14+
15+
env:
16+
SKIP: ${{ vars.SKIP }}
17+
18+
permissions:
19+
contents: read
20+
21+
jobs:
22+
precommit-reusable:
23+
uses: esacteksab/.github/.github/workflows/pre-commit.yml@a24e8b57d95fca5a76fd7c1a3a272b8782998a57 #0.9.0

.github/workflows/spelling.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Spell Check
2+
3+
permissions:
4+
contents: read
5+
6+
on: [pull_request]
7+
8+
env:
9+
RUST_BACKTRACE: 1
10+
CARGO_TERM_COLOR: always
11+
CLICOLOR: 1
12+
13+
concurrency:
14+
group: "${{ github.workflow }}-${{ github.ref_name }}"
15+
cancel-in-progress: true
16+
17+
jobs:
18+
typos-reusable:
19+
uses: esacteksab/.github/.github/workflows/spelling.yml@a24e8b57d95fca5a76fd7c1a3a272b8782998a57 #0.9.0

0 commit comments

Comments
 (0)