From 5e2fd33f0d1d81fa44b3fef95c8655255db07874 Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Sun, 10 Mar 2024 19:46:15 -0400 Subject: [PATCH 1/3] Node 20 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a078d089cf..a5df6d7f05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,9 +60,9 @@ jobs: repository: nvim-treesitter/nvim-treesitter path: nvim_treesitter - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - name: Test C stack code run: gcc test/test-stack.c -o a.out && ./a.out From e70266814b5acbf5d4aa69fed469b12871fe2b7d Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Sun, 10 Mar 2024 19:21:42 -0400 Subject: [PATCH 2/3] Update GitHub Actions --- .github/workflows/ci.yml | 16 ++++++++-------- .github/workflows/fuzz.yml | 2 +- .github/workflows/sync.yml | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5df6d7f05..91e42599a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,14 +6,14 @@ on: - master jobs: changedfiles: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest outputs: all: ${{ steps.changes.outputs.all}} c: ${{ steps.changes.outputs.c }} gen: ${{ steps.changes.outputs.gen }} steps: - name: checkout tree-sitter-scala - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 10 @@ -30,16 +30,16 @@ jobs: strategy: fail-fast: true matrix: - os: [ubuntu-20.04, macos-latest, windows-2019] + os: [ubuntu-latest, macos-latest, windows-2019] steps: - name: checkout tree-sitter-scala - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 10 - name: checkout scala/scala if: ${{ runner.os == 'Linux' }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: scala/scala ref: v2.13.10 @@ -47,7 +47,7 @@ jobs: - name: checkout lampepfl/dotty if: ${{ runner.os == 'Linux' }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: lampepfl/dotty ref: 3.3.0 @@ -55,7 +55,7 @@ jobs: - name: checkout nvim-treesitter/nvim-treesitter if: ${{ runner.os == 'Linux' }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: nvim-treesitter/nvim-treesitter path: nvim_treesitter @@ -102,7 +102,7 @@ jobs: - name: Check if queries are out of sync with nvim-treesitter if: ${{ runner.os == 'Linux' }} - uses: tj-actions/verify-changed-files@v17 + uses: tj-actions/verify-changed-files@v19 id: verify-changed-files with: files: | diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index d9da14e8d3..eb62dd3602 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -17,7 +17,7 @@ jobs: name: Parser fuzzing runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@4 - uses: vigoux/tree-sitter-fuzz-action@v1 with: language: scala diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 1eba217748..af5c2b73f9 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -6,13 +6,13 @@ on: jobs: check-and-sync: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest outputs: all: ${{ steps.changes.outputs.all}} c: ${{ steps.changes.outputs.c }} steps: - name: checkout tree-sitter-scala - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 10 @@ -27,7 +27,7 @@ jobs: npm run format - name: Check for changes - uses: tj-actions/verify-changed-files@v17 + uses: tj-actions/verify-changed-files@v19 id: verify-changed-files with: files: | From 4eb5a61bd16a0723cb5a101b68b563528d3d4f7f Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Sun, 10 Mar 2024 23:55:47 -0400 Subject: [PATCH 3/3] windows-latest --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91e42599a8..41abb7f766 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: true matrix: - os: [ubuntu-latest, macos-latest, windows-2019] + os: [ubuntu-latest, macos-latest, windows-latest] steps: - name: checkout tree-sitter-scala uses: actions/checkout@v4