Skip to content

Commit

Permalink
Setup Dependabot and update actions (#3)
Browse files Browse the repository at this point in the history
Bump actions/download-artifact from 3 to 4.1.8 in /actions/restore_artifacts
Bump actions/upload-artifact from 3 to 4.3.4 in /actions/save_artifacts
Bump actions/cache from 3 to 4.0.2 in /actions/setup_environment
Bump docker/setup-buildx-action in /actions/setup_environment
Bump docker/setup-qemu-action from 1 to 3.2.0 in /actions/setup_environment

Signed-off-by: Matthieu MOREL <[email protected]>
  • Loading branch information
mmorel-35 authored Aug 2, 2024
1 parent 3cb0c38 commit 3728b46
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: actions/restore_artifacts
schedule:
interval: "weekly"

- package-ecosystem: github-actions
directory: actions/save_artifacts
schedule:
interval: "weekly"

- package-ecosystem: github-actions
directory: actions/setup_environment
schedule:
interval: "weekly"
2 changes: 1 addition & 1 deletion actions/restore_artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
using: composite
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: artifact
path: .artifacts
Expand Down
2 changes: 1 addition & 1 deletion actions/save_artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ runs:
tar cvf artifact.tar ${{ inputs.directory }}
mv artifact.tar artifact-$(sha1sum artifact.tar|awk '{ print $1 }').tar
shell: bash
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
path: artifact-*.tar
8 changes: 4 additions & 4 deletions actions/setup_environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/cache@v3
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
if: inputs.enable_go == 'true'
with:
path: |
Expand All @@ -24,7 +24,7 @@ runs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: actions/cache@v3
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
if: inputs.enable_npm == 'true'
with:
path: |
Expand All @@ -36,8 +36,8 @@ runs:
shell: bash
if: inputs.enable_go == 'true'
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
if: inputs.enable_docker_multibuild == 'true'
- name: Set up buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
if: inputs.enable_docker_multibuild == 'true'

0 comments on commit 3728b46

Please sign in to comment.