From 63fe6569470956cdfc0639aeba0c6b09cd9a2044 Mon Sep 17 00:00:00 2001 From: Elias Bonnici Date: Tue, 2 Jul 2024 13:34:37 +0200 Subject: [PATCH 1/3] Add Dependabot version updates for GitHub actions --- .github/dependabot.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..2390d8c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + groups: + github-actions: + patterns: + - "*" From dd7ec768a691aa1bd1d38ac33d7ba3168e4139d8 Mon Sep 17 00:00:00 2001 From: Elias Bonnici Date: Tue, 2 Jul 2024 13:54:54 +0200 Subject: [PATCH 2/3] Bump GitHub actions versions --- .github/workflows/build.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fbb4bc5..59c208e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,10 +23,10 @@ jobs: name: ${{ matrix.os }} Py ${{ matrix.python }} ${{ matrix.architecture }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} architecture: ${{ matrix.architecture }} @@ -55,10 +55,10 @@ jobs: name: Device tests ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.x @@ -95,10 +95,10 @@ jobs: name: Build Python source .tar.gz steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.x @@ -109,7 +109,7 @@ jobs: poetry build - name: Upload source package - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: python-yubihsm-sdist path: dist @@ -119,10 +119,10 @@ jobs: name: Build sphinx documentation steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 @@ -136,7 +136,7 @@ jobs: run: poetry run make -C docs/ html - name: Upload documentation - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: python-yubihsm-docs path: docs/_build/html From 5c292bbbd84325de0a6bb5c174460092941c7e6d Mon Sep 17 00:00:00 2001 From: Elias Bonnici Date: Tue, 2 Jul 2024 14:18:52 +0200 Subject: [PATCH 3/3] Update GitHub runner architectures --- .github/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 59c208e..f038154 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,12 +10,18 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-latest] python: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9'] - architecture: [x86, x64] + architecture: [x86, x64, arm64] exclude: - os: ubuntu-latest architecture: x86 + - os: ubuntu-latest + architecture: arm64 - os: macos-latest architecture: x86 + - os: macos-latest + architecture: x64 + - os: windows-latest + architecture: arm64 - os: windows-latest python: pypy3.9 - os: macos-latest