Skip to content

fix: bump ceramic package versions to 6.x #642

fix: bump ceramic package versions to 6.x

fix: bump ceramic package versions to 6.x #642

name: Check/Build/Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
merge_group:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
with:
package_json_file: suite/package.json
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
# The prefix cache key, this can be changed to start a new cache manually.
# default: "v0-rust"
prefix-key: v0
# Cache only the cargo registry
cache-targets: false
- uses: mozilla-actions/sccache-action@v0.0.3
- name: Check fmt
run: make check-fmt
- name: Check clippy
run: make check-clippy
# Do not run this check in CI because it always fails if any transitive dep publishes new version
#- name: Check test suite
# run: make check-suite
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
with:
package_json_file: suite/package.json
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
# The prefix cache key, this can be changed to start a new cache manually.
# default: "v0-rust"
prefix-key: v0
# Cache only the cargo registry
cache-targets: false
- uses: mozilla-actions/sccache-action@v0.0.3
- name: Build
run: make build