Skip to content

Commit d7ad3a4

Browse files
authored
Merge pull request #448 from CovertLab/update-pins
2 parents d3e39c4 + 278612b commit d7ad3a4

12 files changed

Lines changed: 63 additions & 59 deletions

File tree

‎.github/workflows/codeql.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
5858
steps:
5959
- name: Checkout repository
60-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
60+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
6161
with:
6262
persist-credentials: false
6363

@@ -69,7 +69,7 @@ jobs:
6969

7070
# Initializes the CodeQL tools for scanning.
7171
- name: Initialize CodeQL
72-
uses: github/codeql-action/init@38697555549f1db7851b81482ff19f1fa5c4fedc
72+
uses: github/codeql-action/init@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee
7373
with:
7474
languages: ${{ matrix.language }}
7575
build-mode: ${{ matrix.build-mode }}
@@ -98,6 +98,6 @@ jobs:
9898
exit 1
9999
100100
- name: Perform CodeQL Analysis
101-
uses: github/codeql-action/analyze@38697555549f1db7851b81482ff19f1fa5c4fedc
101+
uses: github/codeql-action/analyze@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee
102102
with:
103103
category: "/language:${{matrix.language}}"

‎.github/workflows/docker_security.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,17 @@ jobs:
4949
df -h /
5050
5151
- name: Checkout
52-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
52+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
5353
with:
5454
persist-credentials: false
5555

5656
- name: Set up Docker Buildx
57-
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
57+
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069
5858

5959
# Export straight to a tarball rather than loading into the Docker
6060
# daemon, so the scanner reads the archive without another docker save.
6161
- name: Build image
62-
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294
62+
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc
6363
with:
6464
context: .
6565
file: runscripts/container/Dockerfile

‎.github/workflows/docs_deploy.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
name: Build documentation
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
15+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
1616
with:
1717
persist-credentials: false
1818
- name: Install uv
19-
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
19+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884
2020
with:
2121
enable-cache: true
22-
version: "0.11.14"
22+
version: "0.13.1"
2323
- name: Install Pandoc
2424
run: sudo apt-get install pandoc
2525
- name: Install model
@@ -29,7 +29,7 @@ jobs:
2929
cd doc
3030
uv run make html
3131
- name: Upload pages artifact
32-
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b
32+
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9
3333
with:
3434
path: doc/_build/html
3535

@@ -46,4 +46,4 @@ jobs:
4646
steps:
4747
- name: Deploy to GitHub Pages
4848
id: deployment
49-
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128
49+
uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346

‎.github/workflows/docs_test.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818
test-docs:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
21+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
2222
with:
2323
persist-credentials: false
2424
- name: Install uv
25-
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
25+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884
2626
with:
2727
enable-cache: true
28-
version: "0.11.14"
28+
version: "0.13.1"
2929
- name: Install Pandoc
3030
run: sudo apt-get install pandoc
3131
- name: Install model

‎.github/workflows/pip_audit.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020
pull-requests: write
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
23+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
2424
with:
2525
persist-credentials: false
2626

2727
- name: Set up uv
28-
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
28+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884
2929
with:
3030
enable-cache: true
31-
version: "0.11.14"
31+
version: "0.13.1"
3232

3333
- name: Install pip-audit and packaging
3434
run: |

‎.github/workflows/pr_tests.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ jobs:
3434
echo "Error: Add the 'long ci' label to this PR once it is ready for review."
3535
exit 1
3636
fi
37-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
37+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
3838
with:
3939
persist-credentials: false
4040
- name: Install uv
41-
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
41+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884
4242
with:
4343
enable-cache: true
44-
version: "0.11.14"
44+
version: "0.13.1"
4545
- name: Install model
4646
run: USE_CYTHON=1 uv sync --frozen
4747
- name: Test ParCa reproducibility
@@ -82,14 +82,14 @@ jobs:
8282
echo "Error: Add the 'long ci' label to this PR once it is ready for review."
8383
exit 1
8484
fi
85-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
85+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
8686
with:
8787
persist-credentials: false
8888
- name: Install uv
89-
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
89+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884
9090
with:
9191
enable-cache: true
92-
version: "0.11.14"
92+
version: "0.13.1"
9393
- name: Install model
9494
run: USE_CYTHON=1 uv sync --frozen
9595
- name: Install nextflow edge

‎.github/workflows/pytest.yml‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ jobs:
2020
Pytest:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
23+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
2424
with:
2525
persist-credentials: false
2626
- name: Install uv
27-
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
27+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884
2828
with:
2929
enable-cache: true
30-
version: "0.11.14"
30+
version: "0.13.1"
3131
- name: Install model
3232
run: USE_CYTHON=1 uv sync --frozen --extra dev
3333
- name: Cache ParCa simulation data
3434
id: cache-parca
35-
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7
35+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
3636
with:
3737
path: out/kb/*.cPickle
3838
key: parca-${{ hashFiles('reconstruction/ecoli/**/*.py', 'reconstruction/ecoli/**/*.tsv') }}
@@ -51,14 +51,14 @@ jobs:
5151
Mypy:
5252
runs-on: ubuntu-latest
5353
steps:
54-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
54+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
5555
with:
5656
persist-credentials: false
5757
- name: Install uv
58-
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
58+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884
5959
with:
6060
enable-cache: true
61-
version: "0.11.14"
61+
version: "0.13.1"
6262
- name: Install model
6363
run: USE_CYTHON=1 uv sync --frozen --extra dev
6464
- name: Mypy
@@ -67,14 +67,14 @@ jobs:
6767
Lint:
6868
runs-on: ubuntu-latest
6969
steps:
70-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
70+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
7171
with:
7272
persist-credentials: false
7373
- name: Install uv
74-
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
74+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884
7575
with:
7676
enable-cache: true
77-
version: "0.11.14"
77+
version: "0.13.1"
7878
- name: Install model
7979
run: USE_CYTHON=1 uv sync --frozen --extra dev
8080
- name: Ruff

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
33
# Ruff version.
4-
rev: v0.15.4
4+
rev: v0.17.1
55
hooks:
66
# Run the linter.
77
- id: ruff

‎pyproject.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,7 @@ packages = [
9393
"validation",
9494
"wholecell"
9595
]
96+
97+
[tool.ruff.lint]
98+
# Ruff 0.16 expanded the default rule set; keep the pre-0.16 defaults.
99+
select = ["E4", "E7", "E9", "F"]

‎runscripts/container/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Use runscripts/container/build-image.sh to build.
44

5-
FROM ghcr.io/astral-sh/uv@sha256:2702577da32d9c3d55c8073e07d4476cd7402c085efbf71921104548c851d96a
5+
FROM ghcr.io/astral-sh/uv@sha256:2a4b12b30aa1a0f1d1f420ad3f4ac27716d5c2962302ac8a7af67ac3287bf36c
66

77
LABEL application="Whole Cell Model of Escherichia coli" \
88
email="wholecellteam@lists.stanford.edu" \

0 commit comments

Comments
 (0)