From 5f27fa57aa3995cbd1bdbf39fdea5de580335035 Mon Sep 17 00:00:00 2001 From: J-E Castagnede Date: Mon, 18 Nov 2024 12:52:08 +0100 Subject: [PATCH] update CI --- .github/dependabot.yml | 12 ++++++++++++ .github/workflows/ci.yml | 30 +++++++++++++++++++++--------- 2 files changed, 33 insertions(+), 9 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..1b18eec --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" # Location of package manifests + schedule: + interval: "weekly" + open-pull-requests-limit: 20 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dabaea6..646c99a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,17 +56,20 @@ jobs: continue-on-error: true strategy: matrix: - version: [22.04, 20.04, docker] + version: ['24.04', '22.04', '20.04', docker] include: - - version: 22.04 + - version: '24.04' + distro: noble + - version: '22.04' distro: jammy - - version: 20.04 + - version: '20.04' distro: focal - version: docker distro: docker image + name: Build ${{ matrix.distro }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Prepare debian versioning if: ${{ matrix.version != 'docker' }} run: | @@ -104,16 +107,18 @@ jobs: image: "convertit:latest" e2e: - continue-on-error: true strategy: matrix: - distro: [ jammy, focal, docker ] + distro: [ noble, jammy, focal, docker ] include: + - distro: noble + version: '24.04' + - distro: jammy - version: 22.04 + version: '22.04' - distro: focal - version: 20.04 + version: '20.04' - distro: docker version: latest @@ -195,13 +200,20 @@ jobs: file -b -f ./myfile.pdf; exit 1; fi + deploy: name: Publish (on release only) runs-on: ubuntu-latest needs: [ flake8, isort, e2e ] if: ${{ github.event_name == 'release' && github.event.action == 'created' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + + - name: Download 24.04 debian artifact + uses: actions/download-artifact@v3 + with: + name: debian-noble + - name: Download 22.04 debian artifact uses: actions/download-artifact@v3 with: