Skip to content

[BUG] Invalid operation Precedence (#367) #2

[BUG] Invalid operation Precedence (#367)

[BUG] Invalid operation Precedence (#367) #2

Workflow file for this run

name: Build verify Amber Nix
on:
push:
branches:
- master
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
nix_build:
name: Nix build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
- name: Check Nix flake
run: nix flake check --all-systems
- name: Build in Nix shell
run: nix develop --command cargo build --release
- name: Build with Nix
run: |
nix build
# Ensure that the `amber` binary runs
./result/bin/amber --version
# Ensure that the `bc` command is correctly provided
echo "import { exit } from \"std/env\"\n\$which bc && bc --version\$ failed { echo \"Failed to run basic calculator\"\nexit(1) }" | ./result/bin/amber -