From 893bf9307a2d786697b7a20766a6c96d53754250 Mon Sep 17 00:00:00 2001 From: Joakim Nordling Date: Wed, 15 Nov 2023 13:04:50 +0200 Subject: [PATCH 1/2] Pin GitHub actions --- .github/workflows/publish.yaml | 4 ++-- .github/workflows/tests.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 92546c9..c9a6181 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🔁 - uses: actions/checkout@v3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 - name: Set up Python 🐍 - uses: actions/setup-python@v4 + uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 #v4.7.1 with: python-version: "3.9" diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index b6cd6a1..615c149 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,10 +13,10 @@ jobs: python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - name: Checkout 🔁 - uses: actions/checkout@v3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 - name: Set up Python ${{ matrix.python-version }} 🐍 - uses: actions/setup-python@v4 + uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 #v4.7.1 with: python-version: ${{ matrix.python-version }} From 136b603ea19952c35f0e010ec4385cc10ffee4f0 Mon Sep 17 00:00:00 2001 From: Joakim Nordling Date: Wed, 15 Nov 2023 13:08:44 +0200 Subject: [PATCH 2/2] Improve pipeline naming --- .github/workflows/publish.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index c9a6181..3152193 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,4 +1,4 @@ -name: Build and upload to PyPI +name: Build and publish to PyPI on: push: @@ -6,8 +6,8 @@ on: - "*" jobs: - build_and_upload: - name: Build and upload + build_and_publish: + name: Build and publish runs-on: ubuntu-latest steps: - name: Checkout 🔁