diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 9f0f3dee7..7d1d077d0 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -29,14 +29,14 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Build shell: bash env: WHITESOURCE_API_KEY: ${{ secrets.WHITESOURCE_API_KEY }} run: ./ci/build.sh - name: Upload Build Artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: artifacts path: artifacts @@ -51,15 +51,15 @@ jobs: cloud: [ 'AWS', 'AZURE', 'GCP' ] nodeVersion: [ '14.x', '16.x', '18.x', '20.x'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: ${{ matrix.nodeVersion }} - - uses: actions/setup-python@v1 + - uses: actions/setup-python@v4 with: python-version: '3.7' - name: Download Build Artifacts - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v3 with: name: artifacts - name: Install Homebrew Bash @@ -88,16 +88,16 @@ jobs: cloud: [ 'AWS', 'AZURE', 'GCP' ] nodeVersion: [ '14.x', '16.x', '18.x', '20.x'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: ${{ matrix.nodeVersion }} - - uses: actions/setup-python@v1 + - uses: actions/setup-python@v4 with: python-version: '3.7' architecture: 'x64' - name: Download Build Artifacts - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v3 with: name: artifacts - name: Tests @@ -117,9 +117,9 @@ jobs: image: [ 'nodejs-centos7-node14', 'nodejs-centos7-fips'] cloud: [ 'AWS', 'AZURE', 'GCP' ] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Download Build Artifacts - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v3 with: name: artifacts - name: Tests @@ -139,17 +139,15 @@ jobs: cloud: [ 'AWS', 'AZURE', 'GCP' ] nodeVersion: ['18.x', '20.x'] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Download Build Artifacts - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v3 with: name: artifacts - name: Use Node.js uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - name: Install dependencies - run: npm install - name: Tests shell: bash env: