Skip to content

Commit

Permalink
ci: update actions to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed Apr 29, 2024
1 parent f31678b commit 72c900f
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
working-directory: bdk-ffi
steps:
- name: "Check out PR branch"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Run audit"
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cont_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
clippy: true
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Generate cache key"
run: echo "${{ matrix.rust.version }} ${{ matrix.features }}" | tee .cache_key
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
working-directory: bdk-ffi
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Set default toolchain"
run: rustup default nightly
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/live-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: "Checkout publishing branch"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Cache"
uses: actions/cache@v3
Expand All @@ -22,7 +22,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}

- name: "Set up JDK"
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
Expand All @@ -45,7 +45,7 @@ jobs:
runs-on: macos-12
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Build Swift package"
run: bash ./bdk-swift/build-local-swift.sh
Expand All @@ -71,7 +71,7 @@ jobs:
- cp310-cp310
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- uses: actions-rs/toolchain@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: "Check out PR branch"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Cache"
uses: actions/cache@v3
Expand All @@ -20,7 +20,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}

- name: "Set up JDK"
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/publish-jvm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: macos-12
steps:
- name: "Checkout publishing branch"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Cache"
uses: actions/cache@v3
Expand All @@ -19,7 +19,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}

- name: "Set up JDK"
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand All @@ -36,7 +36,7 @@ jobs:
./gradlew buildJvmLib
- name: "Upload macOS native libraries for reuse in publishing job"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifact-macos
path: /Users/runner/work/bdk-ffi/bdk-ffi/bdk-jvm/lib/src/main/resources/
Expand All @@ -46,10 +46,10 @@ jobs:
runs-on: windows-2022
steps:
- name: "Checkout publishing branch"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Set up JDK"
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand All @@ -66,7 +66,7 @@ jobs:
./gradlew buildJvmLib
- name: "Upload Windows native libraries for reuse in publishing job"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifact-windows
path: D:\a\bdk-ffi\bdk-ffi\bdk-jvm\lib\src\main\resources\
Expand All @@ -77,7 +77,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: "Checkout publishing branch"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Cache"
uses: actions/cache@v3
Expand All @@ -89,7 +89,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}

- name: "Set up JDK"
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand All @@ -115,7 +115,7 @@ jobs:
path: ./bdk-jvm/lib/src/main/resources/

- name: "Upload library code and binaries"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifact-full
path: ./bdk-jvm/lib/
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/publish-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- cp312-cp312
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
# TODO 2: Other CI workflows use explicit Rust compiler versions, I think we should do the same here
Expand All @@ -44,7 +44,7 @@ jobs:
# see issue #350 for more information
run: ${PYBIN}/python setup.py bdist_wheel --plat-name manylinux_2_17_x86_64 --verbose

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: bdkpython-manylinux2014-x86_64-${{ matrix.python }}
path: /home/runner/work/bdk-ffi/bdk-ffi/bdk-python/dist/*.whl
Expand All @@ -65,7 +65,7 @@ jobs:
- "3.12"
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -83,7 +83,7 @@ jobs:
run: python3 setup.py bdist_wheel --plat-name macosx_11_0_arm64 --verbose

- name: "Upload artifacts"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bdkpython-macos-arm64-${{ matrix.python }}
path: /Users/runner/work/bdk-ffi/bdk-ffi/bdk-python/dist/*.whl
Expand All @@ -104,7 +104,7 @@ jobs:
- "3.12"
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -121,7 +121,7 @@ jobs:
# see issue #350 for more information
run: python3 setup.py bdist_wheel --plat-name macosx_11_0_x86_64 --verbose

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: bdkpython-macos-x86_64-${{ matrix.python }}
path: /Users/runner/work/bdk-ffi/bdk-ffi/bdk-python/dist/*.whl
Expand All @@ -142,7 +142,7 @@ jobs:
- "3.12"
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v4
Expand All @@ -156,7 +156,7 @@ jobs:
run: python setup.py bdist_wheel --verbose

- name: "Upload artifacts"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bdkpython-win-${{ matrix.python }}
path: D:\a\bdk-ffi\bdk-ffi\bdk-python\dist\*.whl
Expand All @@ -170,7 +170,7 @@ jobs:
needs: [build-manylinux2014-x86_64-wheels, build-macos-arm64-wheels, build-macos-x86_64-wheels, build-windows-wheels]
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Download artifacts in dist/ directory"
uses: actions/download-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: echo $ANDROID_NDK_ROOT

- name: "Check out PR branch"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Cache"
uses: actions/cache@v3
Expand All @@ -32,7 +32,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}

- name: "Set up JDK"
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-jvm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: "Check out PR branch"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Cache"
uses: actions/cache@v3
Expand All @@ -27,7 +27,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}

- name: "Set up JDK"
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- cp312-cp312
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- uses: actions-rs/toolchain@v1
Expand All @@ -59,7 +59,7 @@ jobs:
run: ${PYBIN}/python -m unittest discover --start "./tests/" --pattern "test_offline_*.py" --verbose

- name: "Upload artifact test"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bdkpython-manylinux2014-x86_64-${{ matrix.python }}
path: /home/runner/work/bdk-ffi/bdk-ffi/bdk-python/dist/*.whl
Expand All @@ -80,7 +80,7 @@ jobs:
- "3.12"
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -104,7 +104,7 @@ jobs:
# python3 -m unittest discover --start "./tests/" --pattern "test_offline_*.py" --verbose

- name: "Upload artifact test"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bdkpython-macos-arm64-${{ matrix.python }}
path: /Users/runner/work/bdk-ffi/bdk-ffi/bdk-python/dist/*.whl
Expand All @@ -125,7 +125,7 @@ jobs:
- "3.12"
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v4
Expand All @@ -147,7 +147,7 @@ jobs:
run: python3 -m unittest discover --start "./tests/" --pattern "test_offline_*.py" --verbose

- name: "Upload artifact test"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bdkpython-macos-x86_64-${{ matrix.python }}
path: /Users/runner/work/bdk-ffi/bdk-ffi/bdk-python/dist/*.whl
Expand All @@ -168,7 +168,7 @@ jobs:
- "3.12"
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -184,7 +184,7 @@ jobs:
run: python setup.py bdist_wheel --verbose

- name: "Upload artifact test"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bdkpython-windows-${{ matrix.python }}
path: D:\a\bdk-ffi\bdk-ffi\bdk-python\dist\*.whl
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-swift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: macos-12
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Build Swift package"
working-directory: bdk-swift
Expand Down

0 comments on commit 72c900f

Please sign in to comment.