ci: Update GHA workflow config (test on MacOS 15) (#670)

This commit is contained in:
Sebastian Thomschke
2025-11-02 12:41:23 +01:00
committed by GitHub
parent e76abc66e8
commit 1244fce528
2 changed files with 10 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file # https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference
version: 2 version: 2
updates: updates:
- package-ecosystem: github-actions - package-ecosystem: github-actions

View File

@@ -2,11 +2,12 @@
# SPDX-License-Identifier: AGPL-3.0-or-later # SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot # SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot
# #
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions # https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax
name: Build name: Build
on: on: # https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows
schedule: schedule:
# https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#schedule
- cron: '0 15 1 * *' - cron: '0 15 1 * *'
push: push:
branches-ignore: # build all branches except: branches-ignore: # build all branches except:
@@ -40,7 +41,7 @@ on:
- '.github/workflows/validate-pr.yml' - '.github/workflows/validate-pr.yml'
- 'codecov.yml' - 'codecov.yml'
workflow_dispatch: workflow_dispatch:
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/ # https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#workflow_dispatch
defaults: defaults:
@@ -61,10 +62,10 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- os: macos-13 # X86 - os: macos-15-intel # X86
PYTHON_VERSION: "3.10" PYTHON_VERSION: "3.10"
PUBLISH_RELEASE: false PUBLISH_RELEASE: false
- os: macos-latest # ARM - os: macos-latest # ARM
PYTHON_VERSION: "3.10" PYTHON_VERSION: "3.10"
PUBLISH_RELEASE: false PUBLISH_RELEASE: false
- os: ubuntu-latest - os: ubuntu-latest
@@ -73,10 +74,10 @@ jobs:
- os: windows-latest - os: windows-latest
PYTHON_VERSION: "3.10" PYTHON_VERSION: "3.10"
PUBLISH_RELEASE: false PUBLISH_RELEASE: false
- os: macos-13 # X86 - os: macos-15-intel # X86
PYTHON_VERSION: "3.14" PYTHON_VERSION: "3.14"
PUBLISH_RELEASE: true PUBLISH_RELEASE: true
- os: macos-latest # ARM - os: macos-latest # ARM
PYTHON_VERSION: "3.14" PYTHON_VERSION: "3.14"
PUBLISH_RELEASE: true PUBLISH_RELEASE: true
- os: ubuntu-latest - os: ubuntu-latest
@@ -93,7 +94,7 @@ jobs:
- name: "Show: GitHub context" - name: "Show: GitHub context"
env: env:
GITHUB_CONTEXT: ${{ toJSON(github) }} GITHUB_CONTEXT: ${{ toJSON(github) }}
run: echo $GITHUB_CONTEXT run: printf '%s' "$GITHUB_CONTEXT" | python -m json.tool
- name: "Show: environment variables" - name: "Show: environment variables"