Skip to content

Commit

Permalink
Merge pull request #469 from Chia-Network/master
Browse files Browse the repository at this point in the history
master -> develop
  • Loading branch information
cmmarslender authored Jul 10, 2024
2 parents e8bf599 + afc6c2c commit a96c7ec
Show file tree
Hide file tree
Showing 6 changed files with 294 additions and 235 deletions.
56 changes: 56 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# This file is managed by the repo-content-updater project. Manual changes here will result in a PR to bring back
# inline with the upstream template, unless you remove the dependabot managed file property from the repo

version: 2
updates:
- package-ecosystem: "gomod"
directory: /
schedule:
interval: "weekly"
day: "tuesday"
open-pull-requests-limit: 10
labels:
- dependencies
- go
- "Changed"
reviewers: ["cmmarslender", "starttoaster"]
groups:
global:
patterns:
- "*"

- package-ecosystem: "pip"
directory: /
schedule:
interval: "weekly"
day: "tuesday"
open-pull-requests-limit: 10
labels:
- dependencies
- python
- "Changed"
reviewers: ["emlowe", "altendky"]

- package-ecosystem: "github-actions"
directory: /
schedule:
interval: "weekly"
day: "tuesday"
open-pull-requests-limit: 10
labels:
- dependencies
- github_actions
- "Changed"
reviewers: ["cmmarslender", "Starttoaster", "pmaslana"]

- package-ecosystem: "npm"
directory: /
schedule:
interval: "weekly"
day: "tuesday"
open-pull-requests-limit: 10
labels:
- dependencies
- javascript
- "Changed"
reviewers: ["cmmarslender", "emlowe"]
4 changes: 2 additions & 2 deletions .github/workflows/attach-release-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: master

# Setup Node
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with: { node-version: '16' }
- run: cd .github/actions && npm install @octokit/action

Expand Down
58 changes: 29 additions & 29 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
image: ghcr.io/chia-network/build-images/manylinux2014_cuda_x86_64:sha-1caf046d5ff19b7c743de2a106dd86928794032b
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Env
uses: Chia-Network/actions/setjobenv@main
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
bash .github/actions/build-harvester.sh --artifact "${artifact_name}"
- name: Upload Harvester Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.harvester_artifact_name }}
path: ${{ env.harvester_artifact_path }}
Expand All @@ -52,7 +52,7 @@ jobs:
runs-on: windows-2022
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Env
uses: Chia-Network/actions/setjobenv@main
Expand All @@ -72,7 +72,7 @@ jobs:
choco install -y sed
- name: Setup CUDA
uses: Jimver/[email protected].11
uses: Jimver/[email protected].15
id: cuda-toolkit
with:
cuda: '12.1.0'
Expand All @@ -96,7 +96,7 @@ jobs:
CUDA_PATH: ${{ steps.cuda-toolkit.outputs.CUDA_PATH }}

- name: Upload Harvester Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.harvester_artifact_name }}
path: ${{ env.harvester_artifact_path }}
Expand All @@ -108,15 +108,15 @@ jobs:
image: ghcr.io/chia-network/build-images/manylinux2014_cuda_aarch64:sha-1caf046d5ff19b7c743de2a106dd86928794032b
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Env
uses: Chia-Network/actions/setjobenv@main
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Cache DNF packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /var/cache/dnf
key: ${{ runner.os }}-dnf-${{ hashFiles('**/your-build-file') }}
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
bash .github/actions/build-harvester.sh --artifact "${artifact_name}"
- name: Upload Harvester Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.harvester_artifact_name }}
path: ${{ env.harvester_artifact_path }}
Expand All @@ -168,7 +168,7 @@ jobs:
uses: Chia-Network/actions/clean-workspace@main

- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Env
uses: Chia-Network/actions/setjobenv@main
Expand All @@ -188,7 +188,7 @@ jobs:
bash .github/actions/build-harvester.sh --artifact "${artifact_name}"
- name: Upload Harvester Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.harvester_artifact_name }}
path: ${{ env.harvester_artifact_path }}
Expand All @@ -201,7 +201,7 @@ jobs:
uses: Chia-Network/actions/clean-workspace@main

- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Env
uses: Chia-Network/actions/setjobenv@main
Expand All @@ -221,7 +221,7 @@ jobs:
bash .github/actions/build-harvester.sh --artifact "${artifact_name}"
- name: Upload Harvester Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.harvester_artifact_name }}
path: ${{ env.harvester_artifact_path }}
Expand All @@ -232,7 +232,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Env
uses: Chia-Network/actions/setjobenv@main
Expand All @@ -252,7 +252,7 @@ jobs:
run: .github/actions/build-asset-unix.sh --artifact ${{ env.BB_ARTIFACT_NAME }} --version ${{env.BB_VERSION}}

- name: Setup CUDA
uses: Jimver/[email protected].11
uses: Jimver/[email protected].15
id: cuda-toolkit
with:
cuda: '12.1.0'
Expand All @@ -263,14 +263,14 @@ jobs:
run: .github/actions/build-asset-unix.sh --cuda --artifact ${{ env.BB_ARTIFACT_NAME_CUDA }} --version ${{env.BB_VERSION}}

- name: Upload Bladebit Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.BB_ARTIFACT_NAME }}
path: ${{ github.workspace }}/bin/${{ env.BB_ARTIFACT_NAME }}
if-no-files-found: error

- name: Upload Bladebit CUDA Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.BB_ARTIFACT_NAME_CUDA }}
path: ${{ github.workspace }}/bin/${{ env.BB_ARTIFACT_NAME_CUDA }}
Expand All @@ -282,7 +282,7 @@ jobs:
image: quay.io/centos/centos:stream8
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Env
uses: Chia-Network/actions/setjobenv@main
Expand Down Expand Up @@ -323,14 +323,14 @@ jobs:
.github/actions/build-asset-unix.sh --cuda --artifact ${{ env.BB_ARTIFACT_NAME_CUDA }} --version ${{ env.BB_VERSION }}
- name: Upload Bladebit Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.BB_ARTIFACT_NAME }}
path: ${{ github.workspace }}/bin/${{ env.BB_ARTIFACT_NAME }}
if-no-files-found: error

- name: Upload Bladebit CUDA Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.BB_ARTIFACT_NAME_CUDA }}
path: ${{ github.workspace }}/bin/${{ env.BB_ARTIFACT_NAME_CUDA }}
Expand All @@ -342,7 +342,7 @@ jobs:
image: quay.io/centos/centos:stream8
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Env
uses: Chia-Network/actions/setjobenv@main
Expand All @@ -364,7 +364,7 @@ jobs:
.github/actions/build-asset-unix.sh --artifact ${{ env.BB_ARTIFACT_NAME }} --version ${{ env.BB_VERSION }}
- name: Upload Artifact CentOS ARM64
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.BB_ARTIFACT_NAME }}
path: ${{ github.workspace }}/bin/${{ env.BB_ARTIFACT_NAME }}
Expand All @@ -379,7 +379,7 @@ jobs:
shell: bash
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Env
uses: Chia-Network/actions/setjobenv@main
Expand Down Expand Up @@ -409,7 +409,7 @@ jobs:
run: .github/actions/build-asset-unix.sh --artifact ${{ env.BB_ARTIFACT_NAME }} --version ${{env.BB_VERSION}}

- name: Upload Artifact Ubuntu ARM64
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.BB_ARTIFACT_NAME }}
path: ${{ github.workspace }}/bin/${{ env.BB_ARTIFACT_NAME }}
Expand All @@ -419,7 +419,7 @@ jobs:
run: |
.github/actions/build-asset-unix.sh --cuda --artifact ${{ env.BB_ARTIFACT_NAME_CUDA }} --version ${{ env.BB_VERSION }}
- name: Upload Bladebit CUDA Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.BB_ARTIFACT_NAME_CUDA }}
path: ${{ github.workspace }}/bin/${{ env.BB_ARTIFACT_NAME_CUDA }}
Expand All @@ -429,7 +429,7 @@ jobs:
runs-on: windows-2019
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Env
uses: Chia-Network/actions/setjobenv@main
Expand Down Expand Up @@ -468,7 +468,7 @@ jobs:
ls -la ../../bin
- name: Upload Bladebit Artifact Windows x86-64
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.BB_ARTIFACT_NAME }}
path: ${{ github.workspace }}/bin/${{ env.BB_ARTIFACT_NAME }}
Expand All @@ -478,7 +478,7 @@ jobs:
runs-on: windows-2019
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Env
uses: Chia-Network/actions/setjobenv@main
Expand All @@ -498,7 +498,7 @@ jobs:
choco install -y sed
- name: Setup CUDA
uses: Jimver/[email protected].11
uses: Jimver/[email protected].15
id: cuda-toolkit
with:
cuda: '12.1.0'
Expand Down Expand Up @@ -538,7 +538,7 @@ jobs:
ls -la ../../bin
- name: Upload Bladebit CUDA Artifact Windows x86-64
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.BB_ARTIFACT_NAME_CUDA }}
path: ${{ github.workspace }}/bin/${{ env.BB_ARTIFACT_NAME_CUDA }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -62,4 +62,4 @@ jobs:
cmake . -Bbuild
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
3 changes: 3 additions & 0 deletions .repo-content-updater.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# So that the LICENSE can be kept up to date while retaining both names
var_overrides:
COMPANY_NAME: "Harold Brenes, Chia Network Inc."
Loading

0 comments on commit a96c7ec

Please sign in to comment.