From 7dadcc910ab9161ece16fa77e111ae22ba8240d9 Mon Sep 17 00:00:00 2001 From: Harsh Modi Date: Tue, 2 Jan 2024 14:12:01 -0800 Subject: [PATCH] initial ci --- .github/workflows/ci.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..efae8e5 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,24 @@ +--- +name: 'CI' + +"on": push + +permissions: + contents: write + id-token: write + + +concurrency: + group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: true + +jobs: + ci: + runs-on: ["ubuntu-latest"] + steps: + - name: Checkout + uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main + - uses: HatsuneMiku3939/direnv-action@v1 + - run: bazel test //... \ No newline at end of file