Skip to content

Commit

Permalink
Update ci.yaml
Browse files Browse the repository at this point in the history
Test CI change
  • Loading branch information
Neil Zhao committed Jun 5, 2024
1 parent 2949881 commit df61e71
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
name: Node ${{ matrix.node-version }} sample (${{ matrix.os }})
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -27,7 +27,7 @@ jobs:
echo "::set-output name=dir::$(npm config get cache)"
- name: Cache NPM
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -39,7 +39,7 @@ jobs:

- name: Setup Python for Github-Markup
if: ${{ runner.os != 'Windows' }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand All @@ -63,7 +63,7 @@ jobs:
if: ${{ runner.os != 'Windows' }}
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1.4'
ruby-version: '3.3'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Run Test
Expand All @@ -79,10 +79,10 @@ jobs:
name: Docker sample
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Cache Docker layers
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
Expand Down

0 comments on commit df61e71

Please sign in to comment.