Skip to content

Commit

Permalink
Update buildactions
Browse files Browse the repository at this point in the history
Note we still get warnings for secondary dependencies on
pre-commit/action@v3.0.0. No update available yet
  • Loading branch information
erikbosch authored and SebastianSchildt committed Jan 30, 2024
1 parent 627a280 commit 513e754
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# required to grab the history of the PR
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

# taken from here: https://github.com/eclipse/dash-licenses#example-python
- name: Create Dash Dependency Report
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/kuksa-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ jobs:
needs: check_ghcr_push

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# Fetch everything to get tags working as expected
fetch-depth: 0
submodules: 'true'
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
Expand All @@ -61,11 +61,11 @@ jobs:
# only needed for runners without buildx setup, will be slow
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

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

- name: Log in to the Container registry
if: needs.check_ghcr_push.outputs.push == 'true'
Expand All @@ -79,7 +79,7 @@ jobs:

- name: Build kuksa command line client docker and push to ghcr.io
if: needs.check_ghcr_push.outputs.push == 'true'
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
platforms: |
linux/amd64
Expand All @@ -93,7 +93,7 @@ jobs:

- name: Build ephemeral KUKSA command line client docker and push to ttl.sh
if: needs.check_ghcr_push.outputs.push == 'false'
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
platforms: |
linux/amd64
Expand All @@ -115,7 +115,7 @@ jobs:

steps:
- name: Checkout kuksa-python-sdk
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Install pip
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# required to grab the history of the PR
fetch-depth: 0
submodules: 'true'
- uses: actions/setup-python@v3
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- uses: pre-commit/action@v3.0.0
with:
extra_args: --color=always --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}

0 comments on commit 513e754

Please sign in to comment.