Skip to content

Recent syntax changes #21

Recent syntax changes

Recent syntax changes #21

Workflow file for this run

on:
pull_request:
workflow_dispatch:
# this cancels workflows currently in progress if you start a new one
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run-tests:
runs-on: [ubuntu-20.04]
name: Run Roc tests
steps:
- uses: actions/checkout@v3
- name: Install Roc
uses: hasnep/setup-roc@main
with:
roc-version: nightly
testing: "true"
- name: Check the Roc version
run: roc --version
- name: Test Roc code
run: roc test package/main.roc
- name: Test building docs
run: roc docs package/main.roc