Skip to content

Commit

Permalink
ci: Update GHAs (#1163)
Browse files Browse the repository at this point in the history
  • Loading branch information
kesara authored Sep 17, 2024
1 parent e589691 commit 50c3a44
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ jobs:
packages: write

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

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

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

- 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: Base image - Docker Build & Push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
file: docker/base.Dockerfile
Expand All @@ -43,7 +43,7 @@ jobs:
tags: ghcr.io/ietf-tools/xml2rfc-base:latest

- name: Dev image - Docker Build & Push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
file: docker/dev.Dockerfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: python

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3

tests-linux:
name: Unit Tests (Linux)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v4
uses: actions/configure-pages@v5

- name: Generate docs
run: |
Expand All @@ -50,12 +50,12 @@ jobs:
.
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: github-pages
path: artifact.tar
retention-days: 1

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
16 changes: 8 additions & 8 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
pkg_version: ${{ steps.semver.outputs.next }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
fi
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
excludeTypes: ''

- name: Commit CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
if: env.SHOULD_DEPLOY == 'true'
with:
branch: main
Expand Down Expand Up @@ -141,23 +141,23 @@ jobs:
packages: write

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

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

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

- 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: Docker Build & Push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
file: docker/base.Dockerfile
Expand Down

0 comments on commit 50c3a44

Please sign in to comment.