Skip to content

Provide nix build from source #972

Provide nix build from source

Provide nix build from source #972

Workflow file for this run

name: CI
on:
pull_request:
jobs:
nix-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
- run: nix build
ci-matrix:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ '[email protected]' ]
steps:
- uses: actions/[email protected]
with:
fetch-depth: 100
- uses: jorelali/setup-elm@v5
with:
elm-version: 0.19.1
- uses: bahmutov/npm-install@v1
with:
working-directory: modules/webapp
- name: Install tailwindcss cli
run: |
curl -sSLo tailwindcss https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.1/tailwindcss-linux-x64
chmod 755 tailwindcss
mkdir -p bin
mv tailwindcss bin/
echo "PATH=$(pwd)/bin:$PATH" >> $GITHUB_ENV
- name: Fetch tags
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
- uses: olafurpg/setup-scala@v14
with:
java-version: ${{ matrix.java }}
- name: Coursier cache
uses: coursier/cache-action@v6
- name: sbt ci ${{ github.ref }}
run: sbt ci
ci:
runs-on: ubuntu-22.04
needs: [ci-matrix, nix-build]
steps:
- name: Aggregate of lint, and all tests
run: echo "ci passed"