ci: setup initial top level bats #7779
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
#! Auto synced from Shared CI Resources repository | |
#! Don't change this file, instead change it in github.com/GaloyMoney/concourse-shared | |
name: Check Code | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
check-code: | |
name: Check Code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v4 | |
- name: Run the Magic Nix Cache | |
uses: DeterminateSystems/magic-nix-cache-action@v2 | |
- uses: actions/checkout@v3 | |
- run: cd core/api && nix develop -c pnpm install --frozen-lockfile | |
- name: Run check code | |
run: cd core/api && nix develop -c make check-code |