initial server and application, setup cicd foreach #3
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: contract CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: contract | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Aiken | |
uses: aiken-lang/setup-aiken@v1 | |
with: | |
version: v1.1.0 | |
- name: Format Check | |
working-directory: ./contract | |
run: aiken fmt --check | |
- name: Lint and Type Check | |
working-directory: ./contract | |
run: aiken check -D | |
- name: Build contract | |
working-directory: ./contract | |
run: aiken build |