Skip to content

Commit

Permalink
Fixups in github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
larsevj committed Dec 17, 2024
1 parent a4b75fa commit 97c483b
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 10 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Lint GitHub Actions workflows
on: [push, pull_request]

on:
push:
branches:
- main
tags: "*"
pull_request:

jobs:
actionlint:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.8
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.12
- name: Install dependencies
run: pip install --upgrade setuptools setuptools_scm wheel twine build
run: pip install --upgrade pip twine build
- name: Build package
run: python -m build
- name: Upload deploy
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Lint

on: [pull_request]
on:
push:
branches:
- main
tags: "*"
pull_request:

env:
UV_SYSTEM_PYTHON: 1
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/typing.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Type checking

on:
push:
branches:
- main
- 'version-**'
pull_request:
push:
branches:
- main
tags: "*"
pull_request:

env:
UV_SYSTEM_PYTHON: 1
Expand Down

0 comments on commit 97c483b

Please sign in to comment.