Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ permissions:

jobs:
setup:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -36,7 +37,8 @@ jobs:

lint:
needs: setup
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down Expand Up @@ -67,7 +69,8 @@ jobs:

typecheck:
needs: setup
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down Expand Up @@ -95,7 +98,8 @@ jobs:

test:
needs: setup
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 5
strategy:
matrix:
python-version: ["3.12", "3.13"]
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/devcontainer-prebuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Devcontainer prebuild

on:
push:
branches: [main]
paths:
- .devcontainer/**

permissions:
contents: read
packages: write

jobs:
prebuild:
name: Build and push devcontainer cache image
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Log in to GHCR
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push devcontainer image
uses: devcontainers/ci@513af61f4de4f75d37e4438f184ba4358f0fc1ca # v0.3
with:
imageName: ghcr.io/aseguragonzalez/python-seedwork-devcontainer
push: always
runCmd: "true"
5 changes: 4 additions & 1 deletion .github/workflows/devcontainer-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ permissions:
jobs:
devcontainer-quality:
name: Install and check (inside devcontainer)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
contents: read

Expand All @@ -24,6 +25,8 @@ jobs:
- name: Run quality gate inside devcontainer
uses: devcontainers/ci@513af61f4de4f75d37e4438f184ba4358f0fc1ca # v0.3
with:
cacheFrom: ghcr.io/aseguragonzalez/python-seedwork-devcontainer
push: never
runCmd: |
make install
make check
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ permissions:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr-title-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ permissions:

jobs:
title-lint:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:

pre-release:
needs: ci
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 5
concurrency: release
permissions:
contents: write
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:

release:
needs: ci
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 5
concurrency: release
permissions:
contents: write
Expand Down