[ci] Update action versions to silence GitHub warnings

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2024-03-07 23:25:35 +00:00
parent 06e229590c
commit 226531ed36
2 changed files with 8 additions and 8 deletions

View File

@ -12,7 +12,7 @@ jobs:
run: | run: |
sudo chown $(id -un) /var/cache/apt/archives sudo chown $(id -un) /var/cache/apt/archives
- name: Cache packages - name: Cache packages
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: /var/cache/apt/archives/*.deb path: /var/cache/apt/archives/*.deb
key: apt-cache-${{ github.run_id }}-${{ github.run_attempt }} key: apt-cache-${{ github.run_id }}-${{ github.run_attempt }}
@ -32,14 +32,14 @@ jobs:
needs: cache needs: cache
steps: steps:
- name: Check out code - name: Check out code
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache permissions - name: Cache permissions
run: | run: |
sudo chown $(id -un) /var/cache/apt/archives sudo chown $(id -un) /var/cache/apt/archives
- name: Cache packages - name: Cache packages
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
with: with:
path: /var/cache/apt/archives/*.deb path: /var/cache/apt/archives/*.deb
key: apt-cache-${{ github.run_id }}-${{ github.run_attempt }} key: apt-cache-${{ github.run_id }}-${{ github.run_attempt }}
@ -68,14 +68,14 @@ jobs:
needs: cache needs: cache
steps: steps:
- name: Check out code - name: Check out code
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache permissions - name: Cache permissions
run: | run: |
sudo chown $(id -un) /var/cache/apt/archives sudo chown $(id -un) /var/cache/apt/archives
- name: Cache packages - name: Cache packages
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
with: with:
path: /var/cache/apt/archives/*.deb path: /var/cache/apt/archives/*.deb
key: apt-cache-${{ github.run_id }}-${{ github.run_attempt }} key: apt-cache-${{ github.run_id }}-${{ github.run_attempt }}
@ -97,14 +97,14 @@ jobs:
needs: cache needs: cache
steps: steps:
- name: Check out code - name: Check out code
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Cache permissions - name: Cache permissions
run: | run: |
sudo chown $(id -un) /var/cache/apt/archives sudo chown $(id -un) /var/cache/apt/archives
- name: Cache packages - name: Cache packages
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
with: with:
path: /var/cache/apt/archives/*.deb path: /var/cache/apt/archives/*.deb
key: apt-cache-${{ github.run_id }}-${{ github.run_attempt }} key: apt-cache-${{ github.run_id }}-${{ github.run_attempt }}

View File

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Check out code - name: Check out code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Download Coverity Scan - name: Download Coverity Scan
run: | run: |
curl --form token=${{ secrets.COVERITY_SCAN_TOKEN }} \ curl --form token=${{ secrets.COVERITY_SCAN_TOKEN }} \