Generators necessary for creating transactions and scenarios. #38
This file contains 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: Continuous Integration | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: "pages" | |
cancel-in-progress: true | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: aiken-lang/setup-aiken@v1 | |
with: | |
version: v1.1.3 | |
- run: aiken fmt --check | |
- run: aiken check -D | |
- run: aiken build | |
- run: aiken docs -o docs | |
- uses: actions/upload-pages-artifact@v2 | |
with: | |
path: "docs/" | |
publish-documentation: | |
# Uncomment when stable. | |
# | |
# if: ${{ startsWith(github.ref, 'refs/tags') }} | |
if: ${{ github.event_name == 'push' }} | |
needs: check | |
runs-on: ubuntu-latest | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- id: deployment | |
uses: actions/deploy-pages@v1 |