Skip to content

Commit

Permalink
Updated all action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Donkie committed Sep 8, 2024
1 parent eeb1e53 commit 13a038c
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 39 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/apidocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7
- name: Set up PDM
uses: pdm-project/setup-pdm@v2
uses: pdm-project/setup-pdm@v4.1
with:
python-version: "3.9"
- run: pdm sync
- run: pdm run docs
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5.0.0
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3.0.1
with:
path: "docs/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4.0.5
64 changes: 32 additions & 32 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5.2.0
with:
python-version: "3.9"

Expand All @@ -42,15 +42,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7

- name: Install node
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.3
with:
node-version: '20'

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5.2.0
with:
python-version: "3.9"

Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7

- name: Download client
uses: actions/download-artifact@v4.1.7
Expand All @@ -117,18 +117,18 @@ jobs:
path: client/dist

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.6.1

- name: Log in to the Github Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3.3.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build Spoolman
if: ${{ github.event_name != 'pull_request' }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6.7.0
with:
context: .
tags: ${{ env.IMAGE_NAME }}:test
Expand All @@ -139,7 +139,7 @@ jobs:
# Separate build for pull requests since PRs dont have access to store cache
- name: Build Spoolman (PR)
if: ${{ github.event_name == 'pull_request' }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6.7.0
with:
context: .
tags: ${{ env.IMAGE_NAME }}:test
Expand All @@ -158,21 +158,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.6.1

- name: Log in to the Github Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3.3.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build Spoolman Tester
if: ${{ github.event_name != 'pull_request' }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6.7.0
with:
context: ./tests_integration
tags: ${{ env.IMAGE_NAME }}-tester:latest
Expand All @@ -183,7 +183,7 @@ jobs:
# Separate build for pull requests since PRs dont have access to store cache
- name: Build Spoolman Tester (PR)
if: ${{ github.event_name == 'pull_request' }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6.7.0
with:
context: ./tests_integration
tags: ${{ env.IMAGE_NAME }}-tester:latest
Expand All @@ -206,7 +206,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7

- name: Download built images
uses: actions/download-artifact@v4.1.7
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7

- name: Download client
uses: actions/download-artifact@v4.1.7
Expand All @@ -244,20 +244,20 @@ jobs:
path: client/dist

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3.2.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.6.1

- name: Log in to the Github Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3.3.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and cache Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6.7.0
with:
context: .
platforms: linux/arm64
Expand All @@ -274,7 +274,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7

- name: Download client
uses: actions/download-artifact@v4.1.7
Expand All @@ -283,20 +283,20 @@ jobs:
path: client/dist

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3.2.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.6.1

- name: Log in to the Github Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3.3.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and cache Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6.7.0
with:
context: .
platforms: linux/arm/v7
Expand All @@ -312,7 +312,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7

- name: Download client
uses: actions/download-artifact@v4.1.7
Expand All @@ -321,21 +321,21 @@ jobs:
path: client/dist

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3.2.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.6.1

- name: Log in to the Github Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3.3.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5.5.1
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
Expand All @@ -351,7 +351,7 @@ jobs:
echo "BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> "$GITHUB_ENV"
- name: Build and push Docker images
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6.7.0
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/trigger-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
token: ${{ secrets.PAT }}

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5.2.0
with:
python-version: "3.9"

- name: Install node
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.3
with:
node-version: '20'

Expand Down

0 comments on commit 13a038c

Please sign in to comment.