Skip to content

Commit

Permalink
Merge pull request #389 from jsoref/use-actions-node20
Browse files Browse the repository at this point in the history
Use actions node20
  • Loading branch information
ianspektor committed Mar 11, 2024
2 parents 05e2a26 + 18bcdec commit 2ce6cce
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yaml
Expand Up @@ -19,7 +19,7 @@ jobs:
cov-main: ${{ steps.coverage.outputs.cov-main }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# for safety, `pull_request_target` changes the default checkout to be the target branch, so we have to request the merge (we're limited to `permissions: {contents: read}`, so this is ok)
ref: ${{ matrix.branch == 'main' && 'main' || (github.event.pull_request && format('refs/pull/{0}/merge', github.event.pull_request.number)) || '' }}
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
pull-requests: write

steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
script: |
const pr = ${{fromJson(needs.coverage.outputs.cov-pr).totals.percent_covered}};
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/formatting.yaml
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yaml
Expand Up @@ -17,7 +17,7 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build package
run: |
Expand All @@ -40,7 +40,7 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand All @@ -66,7 +66,7 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# actions/setup-python doesn't support py < 3.10 on macos arm
# https://github.com/actions/setup-python/issues/696#issuecomment-1637587760
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
SYSTEM_VERSION_COMPAT: 0
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand All @@ -137,7 +137,7 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Python
run: |
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install poetry
run: pip install poetry
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Expand Up @@ -15,7 +15,7 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Bazel cache
id: bazel-cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_notebooks.yaml
Expand Up @@ -21,7 +21,7 @@ jobs:
# - tutorials/m5_competition # Note: Github cannot download dataset anymore.
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Bazel cache
id: bazel-cache
Expand Down

0 comments on commit 2ce6cce

Please sign in to comment.