Add optional operator role to channel contract #62
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rust | |
| on: | |
| push: | |
| branches: [main, dev] | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha || github.ref }} | |
| cancel-in-progress: true | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| complete: | |
| if: always() | |
| needs: [build, test, fmt, doc, readme] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') | |
| run: exit 1 | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: rustup update | |
| - run: rustup target add wasm32v1-none | |
| - uses: stellar/actions/rust-cache@main | |
| - run: curl -fsSL https://github.com/stellar/stellar-cli/raw/main/install.sh | sh | |
| - run: make build | |
| test: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: rustup update | |
| - run: rustup target add wasm32v1-none | |
| - uses: stellar/actions/rust-cache@main | |
| - run: curl -fsSL https://github.com/stellar/stellar-cli/raw/main/install.sh | sh | |
| - run: make test | |
| fmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: rustup update | |
| - run: make fmt-check | |
| doc: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: rustup update | |
| - uses: stellar/actions/rust-cache@main | |
| - run: make doc-check | |
| readme: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: rustup update | |
| - run: rustup install nightly | |
| - uses: stellar/actions/rust-cache@main | |
| - run: make readme-check |