Skip to content

feat: Re-enable ceramic-cas integration test by switching from tiles to mids #581

feat: Re-enable ceramic-cas integration test by switching from tiles to mids

feat: Re-enable ceramic-cas integration test by switching from tiles to mids #581

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@v2
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/[email protected]
- 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@v2
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/[email protected]
- name: Build
run: make build