diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..9ca1f23 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,17 @@ +name: Create Release + +on: + push: + branches: [ main ] + +jobs: + create-release: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Create release + uses: seriaati/create-release@main \ No newline at end of file diff --git a/.github/workflows/ruff-lint.yml b/.github/workflows/ruff-lint.yml new file mode 100644 index 0000000..ecc22f4 --- /dev/null +++ b/.github/workflows/ruff-lint.yml @@ -0,0 +1,29 @@ +name: Ruff lint + +on: + push: + branches: [ main ] + workflow_dispatch: + pull_request: + types: [opened, synchronize, reopened, closed] + +jobs: + ruff-lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.11" + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install ruff + + - name: Run linter without fix + run: ruff check --output-format=github . \ No newline at end of file