Skip to content

Commit

Permalink
Bump github actions
Browse files Browse the repository at this point in the history
- checkout@v4
- [email protected]
- setup-buildx@v3
- setup-node@v4
- setup-qemu@v3
- login@v3
- build-push@v5
- codeql@v3
- dependency-review@v4
- gh-release@v2
- scality/trivy@v2

Issue: S3UTILS-159
  • Loading branch information
francoisferrand committed Apr 17, 2024
1 parent 5c46285 commit 78d3bb8
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 24 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/alerts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:

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

- name: Render and test count-items-cronjob
uses: scality/[email protected].2
uses: scality/[email protected].3
with:
alert_file_path: monitoring/count-items-cronjob/alerts.yaml
test_file_path: monitoring/count-items-cronjob/alerts.test.yaml
Expand All @@ -24,7 +24,7 @@ jobs:
github_token: ${{ secrets.GIT_ACCESS_TOKEN }}

- name: Render and test update-bucket-capacity-info-cronjob
uses: scality/[email protected].2
uses: scality/[email protected].3
with:
alert_file_path: monitoring/update-bucket-capacity-info-cronjob/alerts.yaml
test_file_path: monitoring/update-bucket-capacity-info-cronjob/alerts.test.yaml
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
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 Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand All @@ -40,7 +40,7 @@ jobs:
working-directory: monitoring

- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

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

- name: Build and analyze
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 'Dependency Review'
uses: actions/dependency-review-action@v3
uses: actions/dependency-review-action@v4
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- build
steps:
- name: Create Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ jobs:
trivy:
needs: build
name: Trivy Vulnerability Scan for Code
uses: scality/workflows/.github/workflows/trivy.yaml@v1
uses: scality/workflows/.github/workflows/trivy.yaml@v2
with:
name: ${{ github.event.repository.name }}
namespace: scality
registry: ghcr.io
14 changes: 6 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,20 @@ jobs:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Docker Buildk
uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: --debug
uses: docker/setup-buildx-action@v3

- name: Login to Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ github.token }}

- name: Build and push MongoDB
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: true
context: .github/dockerfiles/mongodb
Expand All @@ -57,9 +55,9 @@ jobs:
- 27019:27019
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'
cache: 'yarn'
Expand Down

0 comments on commit 78d3bb8

Please sign in to comment.