mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-17 13:49:19 +03:00
Setting actions version to latest (#14361)
* Setting actions version to latest * Fix decode-base64-into-file-action version Cannot use normal versioning as https://github.com/kitek/decode-base64-into-file-action does not use semver and GHA cannot interpret the version without the exact version specified. * Satisfying new version shellcheck linting test Co-authored-by: Zachary Brown <z.brown@chia.net>
This commit is contained in:
parent
cdacd43038
commit
e3ec9484b0
@ -185,7 +185,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
if: steps.check_secrets.outputs.HAS_AWS_SECRET
|
if: steps.check_secrets.outputs.HAS_AWS_SECRET
|
||||||
uses: aws-actions/configure-aws-credentials@v1-node16
|
uses: aws-actions/configure-aws-credentials@v1
|
||||||
with:
|
with:
|
||||||
aws-access-key-id: ${{ secrets.INSTALLER_UPLOAD_KEY }}
|
aws-access-key-id: ${{ secrets.INSTALLER_UPLOAD_KEY }}
|
||||||
aws-secret-access-key: ${{ secrets.INSTALLER_UPLOAD_SECRET }}
|
aws-secret-access-key: ${{ secrets.INSTALLER_UPLOAD_SECRET }}
|
||||||
|
@ -185,7 +185,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
if: steps.check_secrets.outputs.HAS_AWS_SECRET
|
if: steps.check_secrets.outputs.HAS_AWS_SECRET
|
||||||
uses: aws-actions/configure-aws-credentials@v1-node16
|
uses: aws-actions/configure-aws-credentials@v1
|
||||||
with:
|
with:
|
||||||
aws-access-key-id: ${{ secrets.INSTALLER_UPLOAD_KEY }}
|
aws-access-key-id: ${{ secrets.INSTALLER_UPLOAD_KEY }}
|
||||||
aws-secret-access-key: ${{ secrets.INSTALLER_UPLOAD_SECRET }}
|
aws-secret-access-key: ${{ secrets.INSTALLER_UPLOAD_SECRET }}
|
||||||
|
@ -184,7 +184,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
if: steps.check_secrets.outputs.HAS_AWS_SECRET
|
if: steps.check_secrets.outputs.HAS_AWS_SECRET
|
||||||
uses: aws-actions/configure-aws-credentials@v1-node16
|
uses: aws-actions/configure-aws-credentials@v1
|
||||||
with:
|
with:
|
||||||
aws-access-key-id: ${{ secrets.INSTALLER_UPLOAD_KEY }}
|
aws-access-key-id: ${{ secrets.INSTALLER_UPLOAD_KEY }}
|
||||||
aws-secret-access-key: ${{ secrets.INSTALLER_UPLOAD_SECRET }}
|
aws-secret-access-key: ${{ secrets.INSTALLER_UPLOAD_SECRET }}
|
||||||
|
@ -242,7 +242,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
if: steps.check_secrets.outputs.HAS_AWS_SECRET
|
if: steps.check_secrets.outputs.HAS_AWS_SECRET
|
||||||
uses: aws-actions/configure-aws-credentials@v1-node16
|
uses: aws-actions/configure-aws-credentials@v1
|
||||||
with:
|
with:
|
||||||
aws-access-key-id: ${{ secrets.INSTALLER_UPLOAD_KEY }}
|
aws-access-key-id: ${{ secrets.INSTALLER_UPLOAD_KEY }}
|
||||||
aws-secret-access-key: ${{ secrets.INSTALLER_UPLOAD_SECRET }}
|
aws-secret-access-key: ${{ secrets.INSTALLER_UPLOAD_SECRET }}
|
||||||
|
2
.github/workflows/dependency-review.yml
vendored
2
.github/workflows/dependency-review.yml
vendored
@ -17,4 +17,4 @@ jobs:
|
|||||||
- name: 'Checkout Repository'
|
- name: 'Checkout Repository'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: 'Dependency Review'
|
- name: 'Dependency Review'
|
||||||
uses: actions/dependency-review-action@v2
|
uses: actions/dependency-review-action@v3
|
||||||
|
2
.github/workflows/require-labels.yml
vendored
2
.github/workflows/require-labels.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
status: ${{ steps.check-labels.outputs.status }}
|
status: ${{ steps.check-labels.outputs.status }}
|
||||||
steps:
|
steps:
|
||||||
- id: check-labels
|
- id: check-labels
|
||||||
uses: mheap/github-action-required-labels@v2
|
uses: mheap/github-action-required-labels@v3
|
||||||
with:
|
with:
|
||||||
mode: exactly
|
mode: exactly
|
||||||
count: 1
|
count: 1
|
||||||
|
2
.github/workflows/snyk-python-scan.yml
vendored
2
.github/workflows/snyk-python-scan.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup Python environment
|
- name: Setup Python environment
|
||||||
if: steps.check_secrets.outputs.HAS_SNYK_SECRET
|
if: steps.check_secrets.outputs.HAS_SNYK_SECRET
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
2
.github/workflows/super-linter.yml
vendored
2
.github/workflows/super-linter.yml
vendored
@ -57,7 +57,7 @@ jobs:
|
|||||||
# Run Linter against code base #
|
# Run Linter against code base #
|
||||||
################################
|
################################
|
||||||
- name: Lint Code Base
|
- name: Lint Code Base
|
||||||
uses: github/super-linter@v4.9.3
|
uses: github/super-linter@v4
|
||||||
# uses: docker://github/super-linter:v3.10.2
|
# uses: docker://github/super-linter:v3.10.2
|
||||||
env:
|
env:
|
||||||
VALIDATE_ALL_CODEBASE: true
|
VALIDATE_ALL_CODEBASE: true
|
||||||
|
@ -75,10 +75,10 @@ cd ../../../build_scripts || exit 1
|
|||||||
mkdir final_installer
|
mkdir final_installer
|
||||||
DMG_NAME="chia-${CHIA_INSTALLER_VERSION}.dmg"
|
DMG_NAME="chia-${CHIA_INSTALLER_VERSION}.dmg"
|
||||||
if [ "$(arch)" = "arm64" ]; then
|
if [ "$(arch)" = "arm64" ]; then
|
||||||
mv dist/${DMG_NAME} dist/chia-${CHIA_INSTALLER_VERSION}-arm64.dmg
|
mv dist/"${DMG_NAME}" dist/chia-"${CHIA_INSTALLER_VERSION}"-arm64.dmg
|
||||||
DMG_NAME=chia-${CHIA_INSTALLER_VERSION}-arm64.dmg
|
DMG_NAME=chia-${CHIA_INSTALLER_VERSION}-arm64.dmg
|
||||||
fi
|
fi
|
||||||
mv dist/$DMG_NAME final_installer/
|
mv dist/"$DMG_NAME" final_installer/
|
||||||
|
|
||||||
ls -lh final_installer
|
ls -lh final_installer
|
||||||
|
|
||||||
|
@ -54,6 +54,7 @@ ubuntu_cmake_install() {
|
|||||||
sudo apt-get remove --purge cmake -y
|
sudo apt-get remove --purge cmake -y
|
||||||
hash -r
|
hash -r
|
||||||
sudo snap install cmake --classic
|
sudo snap install cmake --classic
|
||||||
|
# shellcheck disable=SC1091
|
||||||
. /etc/profile
|
. /etc/profile
|
||||||
else
|
else
|
||||||
echo "Ubuntu 20.04LTS and newer support CMake 3.16+"
|
echo "Ubuntu 20.04LTS and newer support CMake 3.16+"
|
||||||
@ -87,7 +88,7 @@ if [ -e "$THE_PATH" ]; then
|
|||||||
echo "$THE_PATH"
|
echo "$THE_PATH"
|
||||||
echo "vdf_client already exists, no action taken"
|
echo "vdf_client already exists, no action taken"
|
||||||
else
|
else
|
||||||
if [ -e venv/bin/python ] && test $UBUNTU_DEBIAN; then
|
if [ -e venv/bin/python ] && test "$UBUNTU_DEBIAN"; then
|
||||||
echo "Installing chiavdf dependencies on Ubuntu/Debian"
|
echo "Installing chiavdf dependencies on Ubuntu/Debian"
|
||||||
# If Ubuntu version is older than 20.04LTS then upgrade CMake
|
# If Ubuntu version is older than 20.04LTS then upgrade CMake
|
||||||
ubuntu_cmake_install
|
ubuntu_cmake_install
|
||||||
@ -98,7 +99,7 @@ else
|
|||||||
echo venv/bin/python -m pip install --force --no-binary chiavdf "$CHIAVDF_VERSION"
|
echo venv/bin/python -m pip install --force --no-binary chiavdf "$CHIAVDF_VERSION"
|
||||||
venv/bin/python -m pip install --force --no-binary chiavdf "$CHIAVDF_VERSION"
|
venv/bin/python -m pip install --force --no-binary chiavdf "$CHIAVDF_VERSION"
|
||||||
symlink_vdf_bench "$PYTHON_VERSION"
|
symlink_vdf_bench "$PYTHON_VERSION"
|
||||||
elif [ -e venv/bin/python ] && test $RHEL_BASED; then
|
elif [ -e venv/bin/python ] && test "$RHEL_BASED"; then
|
||||||
echo "Installing chiavdf dependencies on RedHat/CentOS/Fedora"
|
echo "Installing chiavdf dependencies on RedHat/CentOS/Fedora"
|
||||||
# Install remaining needed development tools - assumes venv and prior run of install.sh
|
# Install remaining needed development tools - assumes venv and prior run of install.sh
|
||||||
echo "yum install gcc gcc-c++ gmp-devel $PYTHON_DEV_DEPENDENCY libtool make autoconf automake openssl-devel libevent-devel boost-devel python3 cmake -y"
|
echo "yum install gcc gcc-c++ gmp-devel $PYTHON_DEV_DEPENDENCY libtool make autoconf automake openssl-devel libevent-devel boost-devel python3 cmake -y"
|
||||||
@ -107,7 +108,7 @@ else
|
|||||||
echo venv/bin/python -m pip install --force --no-binary chiavdf "$CHIAVDF_VERSION"
|
echo venv/bin/python -m pip install --force --no-binary chiavdf "$CHIAVDF_VERSION"
|
||||||
venv/bin/python -m pip install --force --no-binary chiavdf "$CHIAVDF_VERSION"
|
venv/bin/python -m pip install --force --no-binary chiavdf "$CHIAVDF_VERSION"
|
||||||
symlink_vdf_bench "$PYTHON_VERSION"
|
symlink_vdf_bench "$PYTHON_VERSION"
|
||||||
elif [ -e venv/bin/python ] && test $MACOS; then
|
elif [ -e venv/bin/python ] && test "$MACOS"; then
|
||||||
echo "Installing chiavdf dependencies for MacOS."
|
echo "Installing chiavdf dependencies for MacOS."
|
||||||
brew install boost cmake gmp
|
brew install boost cmake gmp
|
||||||
echo "Installing chiavdf from source."
|
echo "Installing chiavdf from source."
|
||||||
|
Loading…
Reference in New Issue
Block a user