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 Jan 10, 2025
1 parent 4960119 commit 0060d06
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 @@ -41,7 +41,7 @@ jobs:
runs-on: macos-14
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Build Swift package"
working-directory: bdk-swift
Expand All @@ -68,7 +68,7 @@ jobs:
- cp310-cp310
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

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-14
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 @@ -31,7 +31,7 @@ jobs:
bash ./scripts/build-macos-x86_64.sh
- 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 @@ -41,10 +41,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 @@ -55,7 +55,7 @@ jobs:
bash ./scripts/build-windows-x86_64.sh
- 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 @@ -66,7 +66,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 @@ -78,7 +78,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 @@ -101,7 +101,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 @@ -23,7 +23,7 @@ jobs:
- cp312-cp312
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -40,7 +40,7 @@ jobs:
# see issue #350 for more information
run: ${PYBIN}/python setup.py bdist_wheel --plat-name manylinux_2_28_x86_64 --verbose

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

Expand All @@ -79,7 +79,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 @@ -100,7 +100,7 @@ jobs:
- "3.12"
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -117,7 +117,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 @@ -138,7 +138,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 @@ -152,7 +152,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 @@ -166,7 +166,7 @@ jobs:
needs: [build-manylinux_2_28-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 @@ -32,7 +32,7 @@ jobs:
- cp312-cp312
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -56,7 +56,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-manylinux_2_28_x86_64-${{ matrix.python }}
path: /home/runner/work/bdk-ffi/bdk-ffi/bdk-python/dist/*.whl
Expand All @@ -77,7 +77,7 @@ jobs:
- "3.12"
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -101,7 +101,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 @@ -122,7 +122,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 @@ -144,7 +144,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 @@ -165,7 +165,7 @@ jobs:
- "3.12"
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -181,7 +181,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-13
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 0060d06

Please sign in to comment.