From bb6cf2b3b52fc8d8b7198aa08b8ec68568378fbe Mon Sep 17 00:00:00 2001 From: Keegan Carruthers-Smith Date: Mon, 15 Jul 2024 08:28:22 +0200 Subject: [PATCH] ci: use same versions of actions as cody repo --- .github/workflows/ci.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9744112c..0c11c200 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,16 +13,16 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 - - uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version-file: .tool-versions - - uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 + - uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # SECURITY: pin third-party action hashes - run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT shell: bash id: pnpm-cache - name: Cache pnpm store - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c + uses: actions/cache@v4 with: path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} @@ -48,16 +48,16 @@ jobs: runs-on: ${{ matrix.runner }}-latest timeout-minutes: 5 steps: - - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 - - uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 + - uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # SECURITY: pin third-party action hashes - run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT shell: bash id: pnpm-cache - name: Cache pnpm store - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c + uses: actions/cache@v4 with: path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} key: ${{ runner.os }}-${{ matrix.node }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} @@ -74,16 +74,16 @@ jobs: runs-on: ${{ matrix.runner }}-latest timeout-minutes: 10 steps: - - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 - - uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version-file: .tool-versions - - uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 + - uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # SECURITY: pin third-party action hashes - run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT shell: bash id: pnpm-cache - name: Cache pnpm store - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c + uses: actions/cache@v4 with: path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} @@ -96,4 +96,4 @@ jobs: if: github.ref == 'refs/heads/main' && (matrix.runner == 'windows' || matrix.runner == 'macos') - run: xvfb-run -a pnpm -C client/vscode run test:e2e # if: matrix.runner == 'ubuntu' # only run e2e tests on Linux - if: false # no openctx logs printed so this fails for some reason on CI \ No newline at end of file + if: false # no openctx logs printed so this fails for some reason on CI