Skip to content

Commit

Permalink
Bump GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mjameswh authored Jun 5, 2024
1 parent 2061835 commit a5c0b76
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 20 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,26 @@ jobs:
package-suffix: windows-amd64
runs-on: ${{ matrix.runsOn || matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
# actions/setup-python doesn't yet support Linux ARM
- if: ${{ matrix.os != 'ubuntu-arm' }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.12"
- if: ${{ matrix.os == 'ubuntu-arm' }}
uses: deadsnakes/action@v2.1.1
uses: deadsnakes/action@v3
with:
python-version: "3.12"

# Install Rust locally for non-Linux (Linux uses an internal docker
# command to build with cibuildwheel which uses rustup install defined
# in pyproject.toml)
- if: ${{ runner.os != 'Linux' }}
uses: actions-rs/toolchain@v1
with:
toolchain: stable
uses: dtolnay/rust-toolchain@stable
- if: ${{ runner.os != 'Linux' }}
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2
with:
working-directory: temporalio/bridge

Expand All @@ -73,7 +71,7 @@ jobs:
- run: poe test-dist-single

# Upload dist
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: packages-${{ matrix.package-suffix }}
path: dist
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,20 @@ jobs:
python: "3.8"
runs-on: ${{ matrix.runsOn || matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v1
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
working-directory: temporalio/bridge
# actions/setup-python doesn't yet support Linux ARM
- if: ${{ matrix.os != 'ubuntu-arm' }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- if: ${{ matrix.os == 'ubuntu-arm' }}
uses: deadsnakes/action@v2.1.1
uses: deadsnakes/action@v3
with:
python-version: ${{ matrix.python }}
# Using fixed Poetry version until
Expand Down Expand Up @@ -91,7 +89,7 @@ jobs:
run: npx vercel deploy build/apidocs -t ${{ secrets.VERCEL_TOKEN }} --name python --scope temporal --prod --yes

# Confirm README ToC is generated properly
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
- name: Check generated README ToC
if: ${{ matrix.docsTarget }}
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
# Prepare
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
with:
working-directory: temporalio/bridge
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"

Expand Down

0 comments on commit a5c0b76

Please sign in to comment.