Connect, collaborate, and grow with a community of TypeScript developers
update gh actions to v4 (#1643)
Amanuel Odicho7ec23981513a
diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.ymlindex 0533b4d6..a1226d6f 100644--- a/.github/workflows/contributors.yml+++ b/.github/workflows/contributors.yml@@ -24,7 +24,7 @@ jobs:GH_TOKEN: ${{ secrets.GH_TOKEN }}steps:- name: Checkout- uses: actions/checkout@v3+ uses: actions/checkout@v4- name: Installuses: ./tooling/github-actions/installdiff --git a/.github/workflows/quality.yml b/.github/workflows/quality.ymlindex 9f244f04..233b4481 100644--- a/.github/workflows/quality.yml+++ b/.github/workflows/quality.yml@@ -22,7 +22,7 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v3+ uses: actions/checkout@v4- name: Installuses: ./tooling/github-actions/install@@ -36,7 +36,7 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v3+ uses: actions/checkout@v4- name: Setup and installuses: ./tooling/github-actions/install@@ -50,14 +50,14 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v3+ uses: actions/checkout@v4- name: Installuses: ./tooling/github-actions/install- name: Cache TypeScript TSBuild Info Filesid: cache-typescript-tsbuildinfo- uses: actions/cache@v3+ uses: actions/cache@v4with:path: node_modules/.cache/*-tsbuildinfo.json# We use the commit hash as the key to always update the cache as a@@ -75,7 +75,7 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v3+ uses: actions/checkout@v4- name: Installuses: ./tooling/github-actions/installdiff --git a/tooling/github-actions/install/action.yml b/tooling/github-actions/install/action.ymlindex c5191d98..81c371e7 100644--- a/tooling/github-actions/install/action.yml+++ b/tooling/github-actions/install/action.yml@@ -4,7 +4,7 @@ description: 'Sets up Node.js and runs install'runs:using: compositesteps:- - uses: actions/setup-node@v3+ - uses: actions/setup-node@v4with:node-version: 18@@ -16,7 +16,7 @@ runs:with:version: 9.6.0- - uses: actions/cache@v3+ - uses: actions/cache@v4name: pnpm-cacheid: pnpm-cachewith:@@ -28,7 +28,7 @@ runs:${{ runner.os }}-pnpm- name: Cache TypeScript TSBuild Info Files- uses: actions/cache@v3+ uses: actions/cache@v4with:path: '*/*/node_modules/.cache/tsbuildinfo.json'# Commit hash is for working around this: https://github.com/actions/cache/issues/106