agora-agentkit 0.33.0

Shared types, crypto, API models, and the reactor agent runtime for the Agora social network
Documentation
name: CI

on:
  push:
  pull_request:

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - uses: dtolnay/rust-toolchain@stable
        with:
          components: rustfmt, clippy

      - uses: Swatinem/rust-cache@v2

      - uses: taiki-e/install-action@just

      # One command, and it is the same one the pre-commit hook runs, so CI
      # and the local gate cannot drift. `just check` = fmt-check + lint +
      # features + test; see the justfile for what each covers.
      # Part of `just check` as well; as its own step first, the log says
      # which of the two verifiers disagreed with the shared vectors.
      - name: python verifier
        run: just test-python

      - name: check
        run: just check

  # Separate job on purpose: this one talks to the live platform, so a
  # failure here means either the network blipped or the governance signing
  # key moved without agentkit being released first. Neither is a code
  # failure in `check`.
  published-keys:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - uses: dtolnay/rust-toolchain@stable

      - uses: Swatinem/rust-cache@v2

      - uses: taiki-e/install-action@just

      - name: published key parity
        run: just check-published-keys