Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build-conan-deps-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:

steps:
- name: Checkout conanfile.py
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Update build deps
run: pip install "conan==${{ inputs.conan-version }}"
Expand All @@ -77,7 +77,7 @@ jobs:

- name: Lookup package cache
id: lookup-conan-cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
key: ${{ steps.generate-cache-key.outputs.conan-key }}
path: |
Expand All @@ -87,7 +87,7 @@ jobs:
lookup-only: true

- name: Restore package cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
if: steps.lookup-conan-cache.outputs.cache-hit != 'true'
with:
key: ${{ steps.generate-cache-key.outputs.conan-key }}
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
conan cache clean "*" --source

- name: Save Conan cache
uses: actions/cache/save@v4
uses: actions/cache/save@v5
if: steps.lookup-conan-cache.outputs.cache-hit != 'true'
with:
key: ${{ steps.generate-cache-key.outputs.conan-key }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-conan-deps-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

steps:
- name: Checkout conanfile.py
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Generate cache key
id: generate-cache-key
Expand All @@ -73,7 +73,7 @@ jobs:

- name: Lookup package cache
id: lookup-conan-cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
key: ${{ steps.generate-cache-key.outputs.conan-key }}
path: |
Expand All @@ -83,7 +83,7 @@ jobs:
lookup-only: true

- name: Restore package cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
if: steps.lookup-conan-cache.outputs.cache-hit != 'true'
with:
key: ${{ steps.generate-cache-key.outputs.conan-key }}
Expand All @@ -92,7 +92,7 @@ jobs:
/tmp/cmake-prefix-dbg.tar
/tmp/cmake-prefix-rel.tar

- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
if: steps.lookup-conan-cache.outputs.cache-hit != 'true'
with:
python-version: "3.13"
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
conan cache clean "*" --source

- name: Save Conan cache
uses: actions/cache/save@v4
uses: actions/cache/save@v5
if: steps.lookup-conan-cache.outputs.cache-hit != 'true'
with:
key: ${{ steps.generate-cache-key.outputs.conan-key }}
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/build-dockerfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ permissions:
jobs:
cache-test-dataset:
name: Cache test dataset
uses: paulsengroup/modle/.github/workflows/cache-test-datasets.yml@ee4292096650b460eb278f1502e1e4486521bb12
uses: paulsengroup/modle/.github/workflows/cache-test-datasets.yml@2315dcf677e6c6b59c53a94d46ca498f8d01e10c

build-dockerfile:
name: Build Dockerfile
Expand All @@ -67,10 +67,10 @@ jobs:
- { platform: "linux/arm64", runner: "ubuntu-24.04-arm" }
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Restore test dataset
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
key: ${{ needs.cache-test-dataset.outputs.cache-key }}
path: test/data/modle_test_data.tar.zst
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:

- name: Docker meta
id: meta
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
with:
images: ${{ github.repository }},ghcr.io/${{ github.repository }}
flavor: latest=true
Expand All @@ -141,13 +141,13 @@ jobs:

- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:

- name: Upload digest
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: digests-${{ steps.generate-artifact-name.outputs.name }}
path: ${{ runner.temp }}/digests/*
Expand Down Expand Up @@ -253,7 +253,7 @@ jobs:
echo "name=$outdir" | tee -a "$GITHUB_OUTPUT"

- name: Upload binaries
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: ${{ steps.extract-binaries.outputs.name }}
path: ${{ steps.extract-binaries.outputs.name }}.tar.zst
Expand All @@ -270,11 +270,11 @@ jobs:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Docker meta
id: meta
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
with:
images: ${{ github.repository }},ghcr.io/${{ github.repository }}
flavor: latest=true
Expand All @@ -285,21 +285,21 @@ jobs:
type=ref,priority=600,event=pr

- name: Download digests
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
path: ${{ runner.temp }}/digests
pattern: digests-*
merge-multiple: true

- name: Login to GitHub Container Registry
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to DockerHub
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cache-test-datasets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Generate cache key
id: generate-cache-key
Expand All @@ -51,7 +51,7 @@ jobs:

- name: Cache test datasets
id: cache-dataset
uses: actions/cache@v4
uses: actions/cache@v5
with:
key: ${{ steps.generate-cache-key.outputs.key }}
path: ${{ env.TEST_DATASET_PATH }}
Expand All @@ -71,7 +71,7 @@ jobs:
shasum -c checksum.sha256

- name: Upload test dataset
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: ${{ steps.generate-cache-key.outputs.key }}
path: ${{ env.TEST_DATASET_PATH }}
Expand Down
Loading
Loading