From fcbb3bddfadfcc66e0dd49debfb826f2aff46cf5 Mon Sep 17 00:00:00 2001 From: adfoster-r7 Date: Thu, 29 Feb 2024 11:18:49 +0000 Subject: [PATCH] Update github action libraries --- .github/workflows/acceptance.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml index 4978108990..9dbbfff4e3 100644 --- a/.github/workflows/acceptance.yml +++ b/.github/workflows/acceptance.yml @@ -40,6 +40,7 @@ on: - 'spec/acceptance/**' - 'spec/support/acceptance/**' - 'spec/acceptance_spec_helper.rb' + - '.github/**' # Example of running as a cron, to weed out flaky tests # schedule: # - cron: '*/15 * * * *' @@ -101,11 +102,11 @@ jobs: - name: Set up Python if: ${{ matrix.meterpreter.name == 'python' }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.meterpreter.runtime_version }} - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 if: ${{ matrix.meterpreter.name == 'java' }} with: distribution: temurin @@ -127,7 +128,7 @@ jobs: type %WINDIR%\\system32\\drivers\\etc\\hosts - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Ruby env: @@ -158,7 +159,7 @@ jobs: - name: Archive results if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: # Provide a unique artifact for each matrix os, otherwise race conditions can lead to corrupt zips name: raw-data-${{ matrix.meterpreter.name }}-${{ matrix.meterpreter.runtime_version }}-${{ matrix.os }} @@ -194,7 +195,7 @@ jobs: # https://github.com/ruby/setup-ruby/tree/d2b39ad0b52eca07d23f3aa14fdf2a3fcc1f411c#windows bundler: 2.2.33 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 id: download if: always() with: @@ -217,7 +218,7 @@ jobs: - name: archive results if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: final-report-${{ github.run_id }} path: |