Bump version to 1.6.0 #234
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: | |
workflow_dispatch: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
tags: [ "*.*.*" ] | |
env: | |
CARGO_TERM_COLOR: always | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: "pages" | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: π₯ Checkout repository | |
uses: actions/checkout@v3 | |
- name: π§° Setup Pages | |
uses: actions/configure-pages@v2 | |
- name: π§° Install Aiken | |
uses: aiken-lang/[email protected] | |
with: | |
version: v1.0.16-alpha | |
- name: π Run fmt | |
run: aiken fmt --check | |
- name: π¬ Run tests | |
run: aiken check | |
- name: π Generate documentation | |
shell: bash | |
working-directory: . | |
run: aiken docs -o docs | |
- name: π¦ Upload artifact | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: "docs/" | |
deploy: | |
if: ${{ startsWith(github.ref, 'refs/tags') }} | |
needs: build | |
runs-on: ubuntu-latest | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- name: π Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v1 |