Skip to content

Commit a50c6ee

Browse files
authored
Update GitHub Actions (#2940)
1 parent 3cdb406 commit a50c6ee

4 files changed

Lines changed: 19 additions & 15 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,27 @@ jobs:
1515
runs-on: ubuntu-latest
1616
container: obolibrary/odkfull:v1.2.30
1717
steps:
18-
- uses: actions/checkout@v7
18+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1919
with:
2020
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
2121
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
2222

2323
- name: "Install uv"
24-
uses: "astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57" # v8.0.0
24+
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
2525

2626
- name: Create local changes
2727
run: |
2828
python -m pip install -r requirements.txt
2929
make
30+
3031
- name: Commit files
3132
run: |
3233
git config --local user.email "action@github.com"
3334
git config --local user.name "GitHub Action"
3435
git commit -m "🚀 Automatically rebuilt derived files" -a
36+
3537
- name: Create Pull Request
36-
uses: peter-evans/create-pull-request@v3
38+
uses: peter-evans/create-pull-request@18f7dc018cc2cd597073088f7c7591b9d1c02672 # v3.14.0
3739
with:
3840
commit-message: Update OBO foundry metadata
3941
title: 'Update OBO foundry metadata'

‎.github/workflows/obo-test.yml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,19 @@ jobs:
1313
runs-on: ubuntu-latest
1414
if: github.triggering_actor != 'github-actions[bot]'
1515
steps:
16-
- uses: actions/checkout@v7
16+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1717

1818
- name: "Install uv"
19-
uses: "astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57" # v8.0.0
19+
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
2020

21-
- uses: actions/setup-python@v6
21+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
2222
with:
23-
python-version: '3.9'
23+
python-version: '3.14'
24+
2425
- name: Install requirements
2526
run: |
2627
python3 -m pip install -r requirements.txt
28+
2729
- name: Run tests
2830
run: |
2931
make test

‎.github/workflows/qa.yml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ jobs:
77
name: Lint
88
runs-on: ubuntu-latest
99
if: github.triggering_actor != 'github-actions[bot]'
10-
strategy:
11-
matrix:
12-
python-version: [ "3.8", "3.10" ]
1310
steps:
14-
- uses: actions/checkout@v7
15-
- name: Set up Python ${{ matrix.python-version }}
16-
uses: actions/setup-python@v6
11+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
12+
13+
- name: Set up Python
14+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
1715
with:
18-
python-version: ${{ matrix.python-version }}
16+
python-version: '3.14'
17+
1918
- name: Install dependencies
2019
run: |
2120
pip install --upgrade pip setuptools wheel
2221
pip install "tox<4.0.0"
22+
2323
- name: Check code quality with flake8
2424
run: tox -e flake8

‎requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pyyaml==5.4
1+
pyyaml==6.0.3
22
jsonschema==3.0.2
33
SPARQLWrapper
44
requests==2.31.0

0 commit comments

Comments
 (0)