Skip to content

Commit cf312ff

Browse files
deadmau5vshaunthegeek
authored andcommitted
fix: Update GitHub Actions workflow to use the latest versions
1 parent 363e502 commit cf312ff

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# This workflow contains a single job called "build"
1919
build:
2020
# The type of runner that the job will run on
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-22.04
2222

2323
# TODO hard code, because GitHub Actions only support secrets but not env
2424
env:
@@ -27,14 +27,14 @@ jobs:
2727
# Steps represent a sequence of tasks that will be executed as part of the job
2828
steps:
2929
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
30-
- uses: actions/checkout@v2
30+
- uses: actions/checkout@v4
3131

3232
- uses: technote-space/get-diff-action@v5
3333
if: ${{ github.event_name == 'pull_request' }}
3434

3535
- name: Cache Downloads
3636
id: cache-downloads
37-
uses: actions/cache@v2
37+
uses: actions/cache@v4
3838
with:
3939
path: |
4040
/usr/local/bin/shellcheck
@@ -59,4 +59,3 @@ jobs:
5959
# Download and check sha256, if file not exist in registry
6060
- name: Download and check
6161
run: ./coding-generic-sync.sh
62-

0 commit comments

Comments
 (0)