diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index ef6d46c1..6ddef7c5 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -39,7 +39,7 @@ jobs: asv machine --yes # https://github.com/tqdm/tqdm/blob/4c956c20b83be4312460fc0c4812eeb3fef5e7df/.github/workflows/check.yml#L26 - name: Restore previous results - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .asv key: asv-${{ runner.os }} @@ -74,7 +74,7 @@ jobs: if: always() run: cp benchmarks/README_CI.md benchmarks.log .asv/results/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: asv-benchmark-results-${{ runner.os }} diff --git a/.github/workflows/test-build-push.yml b/.github/workflows/test-build-push.yml index cb7cb038..89766011 100644 --- a/.github/workflows/test-build-push.yml +++ b/.github/workflows/test-build-push.yml @@ -30,7 +30,7 @@ jobs: shell: bash -l {0} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup environment uses: mamba-org/setup-micromamba@v1 with: @@ -65,11 +65,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' - name: Set environment variables for docker build @@ -81,14 +81,14 @@ jobs: echo "DOLPHIN_VERSION=${sanitized_version}" >> $GITHUB_ENV - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build, tag, and push image to Github Container Registry - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . file: ./docker/Dockerfile @@ -102,14 +102,14 @@ jobs: - name: Add develop tag if: github.ref == 'refs/heads/main' - uses: akhilerm/tag-push-action@v2.1.0 + uses: akhilerm/tag-push-action@v2.2.0 with: src: ghcr.io/${{ github.repository }}:${{ env.DOLPHIN_VERSION }} dst: ghcr.io/${{ github.repository }}:develop - name: Add latest tag if: startsWith(github.ref, 'refs/tags/v') - uses: akhilerm/tag-push-action@v2.1.0 + uses: akhilerm/tag-push-action@v2.2.0 with: src: ghcr.io/${{ github.repository }}:${{ env.DOLPHIN_VERSION }} dst: ghcr.io/${{ github.repository }}:latest