Skip to content

Commit

Permalink
Pin GitHub actions and improve naming of actions (#35)
Browse files Browse the repository at this point in the history
* Pin GitHub actions

* Improve pipeline naming
  • Loading branch information
joakimnordling authored Nov 15, 2023
1 parent a9fed4a commit 0eb3990
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: Build and upload to PyPI
name: Build and publish to PyPI

on:
push:
tags:
- "*"

jobs:
build_and_upload:
name: Build and upload
build_and_publish:
name: Build and publish
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"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 0eb3990

Please sign in to comment.