Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Add 'forge-htmx/' from commit '22ebe88cb32f23e99ab69a0f5271eaf69a5c5fa4'
Browse files Browse the repository at this point in the history
git-subtree-dir: forge-htmx
git-subtree-mainline: 59bd1a0
git-subtree-split: 22ebe88
  • Loading branch information
davegaeddert committed Dec 6, 2024
2 parents 59bd1a0 + 22ebe88 commit 7875941
Show file tree
Hide file tree
Showing 25 changed files with 1,565 additions and 0 deletions.
30 changes: 30 additions & 0 deletions forge-htmx/.github/workflows/deps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: deps

on:
schedule:
- cron: 0 0 1 * *
workflow_dispatch: {}

jobs:
deps:
runs-on: ubuntu-latest
steps:
- id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.DEPS_GITHUB_APP_ID }}
private_key: ${{ secrets.DEPS_GITHUB_APP_KEY }}
- uses: actions/checkout@v3
with:
token: ${{ steps.generate_token.outputs.token }}
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: |
pip install -U pip poetry
./scripts/install
- run: curl https://deps.app/install.sh | bash -s -- -b $HOME/bin
- run: $HOME/bin/deps ci
env:
DEPS_TOKEN: ${{ secrets.DEPS_TOKEN }}
DEPS_GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
22 changes: 22 additions & 0 deletions forge-htmx/.github/workflows/nextrelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: nextrelease
on:
push:
branches: [master]
pull_request:
branches: [master]
types: [labeled, unlabeled, edited, synchronize]

jobs:
sync:
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' && github.head_ref == 'nextrelease' }}
runs-on: ubuntu-latest
steps:
- uses: dropseed/nextrelease@v2
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.DROPSEED_PYPI_TOKEN }}
with:
prepare_cmd: |
sed -i -e "s/version = \"[^\"]*\"$/version = \"$VERSION\"/g" pyproject.toml
publish_cmd: |
pip3 install -U pip poetry && poetry publish --build --no-interaction
github_token: ${{ secrets.GITHUB_TOKEN }}
23 changes: 23 additions & 0 deletions forge-htmx/.github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: test

on: [push]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
- run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: poetry
- name: Install dependencies
run: poetry install
- name: Test
run: ./scripts/test
18 changes: 18 additions & 0 deletions forge-htmx/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Local development files
/.env
/.forge

# Publishing
/dist

# Python
/.venv
__pycache__/
*.py[cod]
*$py.class

# OS files
.DS_Store

# Node files
node_modules/
21 changes: 21 additions & 0 deletions forge-htmx/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022, Dropseed

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit 7875941

Please sign in to comment.