Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Reusable workflow for goose checks #321

Merged
merged 1 commit into from
Oct 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 1 addition & 18 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,7 @@ concurrency:
jobs:
lint:
name: Static analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.13
cache: pip
check-latest: true
- name: goose cache
uses: actions/cache@v4
with:
path: ~/.cache/goose
key: "${{ runner.os }}-goose-3.13-${{ hashFiles('.goose/**/manifest.json') }}"
restore-keys: |
${{ runner.os }}-goose-3.13
${{ runner.os }}-goose
- run: pip install --upgrade git-goose
- run: python3 -m goose run --select=all --delete-orphan-environments
uses: antonagestam/goose/.github/workflows/run.yaml@56c2ee86f1e4a7eef821bdfd44328e47ba11240d

type-check:
name: Type check
Expand Down