Skip to content

Commit

Permalink
Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
prozacchiwawa committed Jan 16, 2025
2 parents f893202 + 748ed74 commit 43db794
Show file tree
Hide file tree
Showing 31 changed files with 361 additions and 395 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ updates:
reviewers: ["emlowe", "altendky"]

- package-ecosystem: "github-actions"
directory: /
directories: ["/", ".github/actions/*"]
schedule:
interval: "weekly"
day: "tuesday"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/audit-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/build-arm64-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand All @@ -45,7 +45,7 @@ jobs:
pip install maturin==1.7.0
CC=gcc maturin build --release --strip --manylinux 2_28
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
path: target/wheels/
Expand All @@ -60,7 +60,7 @@ jobs:
needs: build_wheels
steps:
- name: Fetch wheels from previous job
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wheels
path: target/wheels/
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:

- name: Configure AWS credentials
if: steps.check_secrets.outputs.HAS_AWS_SECRET
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ secrets.CHIA_AWS_ACCOUNT_ID }}:role/installer-upload
aws-region: us-west-2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
run: cargo publish --dry-run

- name: Upload crate artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: crate
path: ./target/package/clvm_tools_rs-*.crate
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/build-m1-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- uses: Chia-Network/actions/clean-workspace@main

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -48,6 +48,8 @@ jobs:
rm rustup-init checksum.txt
- name: Build m1 wheels
env:
MACOSX_DEPLOYMENT_TARGET: '13.0'
run: |
python3 -m venv venv
. ./venv/bin/activate
Expand Down Expand Up @@ -106,7 +108,7 @@ jobs:
pytest
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
path: ./target/wheels
Expand All @@ -117,7 +119,7 @@ jobs:
needs: build_wheels
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -132,7 +134,7 @@ jobs:
python-version: "3.10"

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wheels
path: ./target/wheels/
Expand Down Expand Up @@ -165,7 +167,7 @@ jobs:

- name: Configure AWS credentials
if: steps.check_secrets.outputs.HAS_AWS_SECRET
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ secrets.CHIA_AWS_ACCOUNT_ID }}:role/installer-upload
aws-region: us-west-2
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-riscv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Set up QEMU on x86_64
id: qemu
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: riscv64

Expand All @@ -51,13 +51,13 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Set up QEMU on x86_64
id: qemu
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: riscv64

Expand All @@ -76,7 +76,7 @@ jobs:
'
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: packages
path: ./target/wheels/
Expand Down
25 changes: 13 additions & 12 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
python: [3.9, '3.10', 3.11]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -36,7 +36,7 @@ jobs:
with:
toolchain: stable

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Install Python ${{ matrix.python }}
with:
python-version: ${{ matrix.python }}
Expand Down Expand Up @@ -224,9 +224,9 @@ jobs:
docker run -v ${GITHUB_WORKSPACE}:/root/clvm_tools_rs -t clvm-tools-rs-alpine sh /root/build-alpine.sh
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ matrix.os }}-py-${{ matrix.python }}
path: ./target/wheels/

upload:
Expand All @@ -235,7 +235,7 @@ jobs:
needs: build_wheels
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -250,9 +250,10 @@ jobs:
python-version: "3.10"

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wheels
merge-multiple: true
pattern: wheels-*
path: ./target/wheels/

- name: Check for incompatible wheels and bail if found
Expand Down Expand Up @@ -290,7 +291,7 @@ jobs:

- name: Configure AWS credentials
if: steps.check_secrets.outputs.HAS_AWS_SECRET
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ secrets.CHIA_AWS_ACCOUNT_ID }}:role/installer-upload
aws-region: us-west-2
Expand All @@ -310,7 +311,7 @@ jobs:
runs-on: ubuntu-20.04
name: cargo fmt
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install rust
Expand All @@ -325,7 +326,7 @@ jobs:
clippy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand All @@ -342,7 +343,7 @@ jobs:
runs-on: ubuntu-20.04
name: Unit tests
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install rust
Expand All @@ -356,7 +357,7 @@ jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ jobs:
- name: "Dependency Review"
uses: actions/dependency-review-action@v4
with:
allow-dependencies-licenses: pkg:pypi/pylint, pkg:pypi/pyinstaller
allow-dependencies-licenses: pkg:pypi/pyinstaller
deny-licenses: AGPL-1.0-only, AGPL-1.0-or-later, AGPL-1.0-or-later, AGPL-3.0-or-later, GPL-1.0-only, GPL-1.0-or-later, GPL-2.0-only, GPL-2.0-or-later, GPL-3.0-only, GPL-3.0-or-later
4 changes: 2 additions & 2 deletions .github/workflows/extensive-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -36,7 +36,7 @@ jobs:
toolchain: stable
components: rustfmt, clippy

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Install Python 3.11
with:
python-version: 3.11
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -43,7 +43,7 @@ jobs:
run: wasm-pack build --release --target=nodejs wasm && wasm-pack pack wasm

- name: Setup Node 16.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16.x'

Expand All @@ -62,7 +62,7 @@ jobs:
cd wasm/tests/clvm-tools-interface && npm install && yarn test
- name: Upload npm pkg artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: npm-pkg
path: ./wasm/pkg/clvm_tools_wasm-*.tgz
Expand Down
Loading

0 comments on commit 43db794

Please sign in to comment.