diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml new file mode 100644 index 0000000..9738f3a --- /dev/null +++ b/.github/workflows/pre-commit.yaml @@ -0,0 +1,20 @@ +name: pre-commit checks +on: + pull_request: + types: + - opened + - synchronize + - reopened + - ready_for_review + push: + branches: + - main +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: pre-commit/action@v3.0.0 + - uses: pre-commit-ci/lite-action@v1.0.1 + # This will tell git to always run the pre-commit hook, even if the commit is a fast-forward + if: always() diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..2a906f3 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: check-yaml diff --git a/chains.yaml b/chains.yaml index fab59ae..3b9f4b9 100644 --- a/chains.yaml +++ b/chains.yaml @@ -44,7 +44,7 @@ # Build agd go build -v -mod=readonly -tags "$BUILD_TAGS" -ldflags "$COMMON_LDFLAGS" -o ../../bin/agd ./cmd/agd - + # Build nodejs swingset kernel npm install node-addon-api --legacy-peer-deps export CC_host=gcc CXX_host=g++ @@ -130,7 +130,7 @@ github-organization: ava-labs github-repo: avalanchego dockerfile: avalanche - build-target: + build-target: bash scripts/build.sh binaries: - build/avalanchego @@ -148,7 +148,7 @@ git clone -b v4.3.0 --single-branch https://github.com/axelarnetwork/axelar-cgp-solidity.git cd axelar-cgp-solidity # The npm commands will complain about nodejs versions but will proceed. - # See issue: https://github.com/strangelove-ventures/heighliner/issues/92 + # See issue: https://github.com/strangelove-ventures/heighliner/issues/92 npm ci npm run build npm run flatten @@ -220,7 +220,7 @@ - /go/bin/cyber build-env: - BUILD_TAGS=muslc - + # Carbon - name: carbon github-organization: Switcheo @@ -256,6 +256,15 @@ binaries: - /usr/local/bin/carbond +# Celestia +- name: celestia + github-organization: celestiaorg + github-repo: celestia-app + dockerfile: cosmos + build-target: make install + binaries: + - /go/bin/celestia-appd + # Cerberus - name: cerberus github-organization: cerberus-zone @@ -868,26 +877,13 @@ - name: sei github-organization: sei-protocol github-repo: sei-chain - dockerfile: cargo + dockerfile: cosmos build-target: | - set -eux - - # Build nitro - cd nitro-replayer - cargo build --release - cp target/${ARCH}-unknown-linux-gnu/release/libnitro_replayer.so ../x/nitro/replay/libnitro_replayer.${ARCH}.so - cd .. - - # Build seid - export GOOS=linux GOARCH=${TARGETARCH} make install binaries: - - /root/go/bin/seid - libraries: - - /build/sei-chain/x/nitro/replay/libnitro_replayer.${ARCH}.so - - /root/go/pkg/mod/github.com/!cosm!wasm/wasmvm@v*/api/libwasmvm.${ARCH}.so - platforms: - - linux/amd64 + - /go/bin/seid + build-env: + - BUILD_TAGS=muslc # Sentinel - name: sentinel @@ -987,7 +983,7 @@ binaries: - /go/bin/terpd build-env: - - BUILD_TAGS=muslc + - BUILD_TAGS=muslc # Terra - name: terra