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: |