Add an example for Encoding
and Decoding
abilities
#38
Workflow file for this run
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
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: | |
build-and-test: | |
runs-on: [ubuntu-22.04] | |
steps: | |
- uses: actions/checkout@v3 | |
# install nix | |
- uses: cachix/install-nix-action@v23 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: enigmaticsunrise | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
# the result folder is produced by the previous step | |
- name: Run all tests | |
run: nix develop -c sh -c 'export ROC=roc && ./ci_scripts/all_tests.sh' |