From eca6a7b0c141baa391920ed0770fcbe514d08ba9 Mon Sep 17 00:00:00 2001 From: Daniele Nicolodi Date: Tue, 5 Nov 2024 23:04:53 +0100 Subject: [PATCH] ci: Assorted cleanups --- .github/workflows/checks.yaml | 6 +++--- .github/workflows/{wheels.yaml => release.yaml} | 3 +-- .github/workflows/test.yaml | 1 + 3 files changed, 5 insertions(+), 5 deletions(-) rename .github/workflows/{wheels.yaml => release.yaml} (97%) diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 9bb2609..ab026a8 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -4,7 +4,7 @@ on: - pull_request jobs: ruff: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -13,7 +13,7 @@ jobs: - run: python -m pip install ruff - run: ruff check beanquery/ coverage: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -38,7 +38,7 @@ jobs: python -m coverage erase done build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 diff --git a/.github/workflows/wheels.yaml b/.github/workflows/release.yaml similarity index 97% rename from .github/workflows/wheels.yaml rename to .github/workflows/release.yaml index a0b78a3..3978f8a 100644 --- a/.github/workflows/wheels.yaml +++ b/.github/workflows/release.yaml @@ -1,8 +1,8 @@ +name: release on: push: tags: - 'v[0-9]*' - jobs: build: runs-on: ubuntu-latest @@ -13,7 +13,6 @@ jobs: - uses: actions/upload-artifact@v4 with: path: dist/* - upload: needs: build runs-on: ubuntu-latest diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e8e0ce8..cadc50f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -17,6 +17,7 @@ jobs: - '3.13' beancount: - '~= 2.3.6' + - '~= 3.0.0' - '@ git+https://github.com/beancount/beancount.git' steps: - uses: actions/checkout@v4