Set up forgejo actions #1

Merged
nick merged 8 commits from forgejo-actions into main 2025-04-27 00:55:12 +00:00
Showing only changes of commit 60e25be996 - Show all commits

View file

@ -18,22 +18,26 @@ jobs:
- '3.13' - '3.13'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v4
with:
path: |
**/.mypy_cache
~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-${{ matrix.python-version }}-
- run: pip install --break-system-packages poetry - run: pip install --break-system-packages poetry
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
cache: poetry cache: poetry
- name: Cache deps
uses: actions/cache@v4
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-${{ matrix.python-version }}-
- name: Install deps - name: Install deps
run: make dev run: make dev
- name: Run tests - name: Run tests
run: make ci run: make ci
- name: list dir - name: list dir
run: ls -al run: |
ls -al
find ~