From 21c569de3d1ba9d9601fb1cf85c98c0e95a69f10 Mon Sep 17 00:00:00 2001 From: Sebastien Bousquet Date: Thu, 12 Dec 2024 09:42:39 +0100 Subject: [PATCH] ci: upgrade workflow actions version --- .github/workflows/main.yml | 6 +++--- .github/workflows/trivy.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5ed5947b..6e2f524c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,16 +8,16 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4.1.4 - name: Use Node 16 - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: 16 - name: Cache node modules id: cache-nodemodules - uses: actions/cache@v2 + uses: actions/cache@v4.0.2 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 1fcc4444..f525ae9b 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.4 - name: Build an image from Dockerfile run: |