Skip to content

Commit

Permalink
Upgrade to latest github actions components versions (pantsbuild#15647)
Browse files Browse the repository at this point in the history
  • Loading branch information
asherf authored May 25, 2022
1 parent 0cac660 commit 08e4640
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cache_comparison.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Tell Pants to use Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cancel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
if: ${{ github.repository_owner == 'pantsbuild' }}
runs-on: ubuntu-latest
steps:
- uses: styfle/cancel-workflow-action@0.8.0
- uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
workflow_id: ${{ github.event.workflow.id }}
Expand Down
54 changes: 27 additions & 27 deletions .github/workflows/test-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Tell Pants to use Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -119,12 +119,12 @@ jobs:
'
- if: always()
name: Upload pants.log
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pants-log-bootstrap-linux
path: .pants.d/pants.log
- name: Upload native binaries
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: native_binaries.${{ matrix.python-version }}.${{ runner.os }}
path: '.pants
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Tell Pants to use Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:
'
- name: Upload native binaries
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: native_binaries.${{ matrix.python-version }}.${{ runner.os }}
path: '.pants
Expand Down Expand Up @@ -317,7 +317,7 @@ jobs:
'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Tell Pants to use Python ${{ matrix.python-version }}
Expand All @@ -328,7 +328,7 @@ jobs:
'
- name: Download native binaries
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: native_binaries.${{ matrix.python-version }}.${{ runner.os }}
- if: github.event_name != 'pull_request'
Expand All @@ -344,7 +344,7 @@ jobs:
'
- if: always()
name: Upload pants.log
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pants-log-lint
path: .pants.d/pants.log
Expand Down Expand Up @@ -383,12 +383,12 @@ jobs:
'
- name: Install AdoptJDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: '11'
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.17.1
- if: runner.os == 'Linux'
Expand All @@ -404,7 +404,7 @@ jobs:
'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Tell Pants to use Python ${{ matrix.python-version }}
Expand All @@ -417,7 +417,7 @@ jobs:
- name: Expose Pythons
uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe
- name: Download native binaries
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: native_binaries.${{ matrix.python-version }}.${{ runner.os }}
- if: github.event_name != 'pull_request'
Expand All @@ -431,7 +431,7 @@ jobs:
'
- if: always()
name: Upload pants.log
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pants-log-python-test-linux-0_3
path: .pants.d/pants.log
Expand Down Expand Up @@ -470,12 +470,12 @@ jobs:
'
- name: Install AdoptJDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: '11'
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.17.1
- if: runner.os == 'Linux'
Expand All @@ -491,7 +491,7 @@ jobs:
'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Tell Pants to use Python ${{ matrix.python-version }}
Expand All @@ -504,7 +504,7 @@ jobs:
- name: Expose Pythons
uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe
- name: Download native binaries
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: native_binaries.${{ matrix.python-version }}.${{ runner.os }}
- if: github.event_name != 'pull_request'
Expand All @@ -518,7 +518,7 @@ jobs:
'
- if: always()
name: Upload pants.log
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pants-log-python-test-linux-1_3
path: .pants.d/pants.log
Expand Down Expand Up @@ -557,12 +557,12 @@ jobs:
'
- name: Install AdoptJDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: '11'
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.17.1
- if: runner.os == 'Linux'
Expand All @@ -578,7 +578,7 @@ jobs:
'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Tell Pants to use Python ${{ matrix.python-version }}
Expand All @@ -591,7 +591,7 @@ jobs:
- name: Expose Pythons
uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe
- name: Download native binaries
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: native_binaries.${{ matrix.python-version }}.${{ runner.os }}
- if: github.event_name != 'pull_request'
Expand All @@ -605,7 +605,7 @@ jobs:
'
- if: always()
name: Upload pants.log
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pants-log-python-test-linux-2_3
path: .pants.d/pants.log
Expand Down Expand Up @@ -646,12 +646,12 @@ jobs:
'
- name: Install AdoptJDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: '11'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Tell Pants to use Python ${{ matrix.python-version }}
Expand All @@ -664,7 +664,7 @@ jobs:
- name: Expose Pythons
uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe
- name: Download native binaries
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: native_binaries.${{ matrix.python-version }}.${{ runner.os }}
- if: github.event_name != 'pull_request'
Expand All @@ -676,7 +676,7 @@ jobs:
run: './pants --tag=+platform_specific_behavior test :: -- -m platform_specific_behavior'
- if: always()
name: Upload pants.log
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pants-log-python-test-macos
path: .pants.d/pants.log
Expand Down
Loading

0 comments on commit 08e4640

Please sign in to comment.