From abee7ff4529977b65588afa3e48f88891215fe29 Mon Sep 17 00:00:00 2001 From: zc he Date: Tue, 29 Oct 2024 22:21:27 +0800 Subject: [PATCH] Create ci.yml --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3b51703 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +on: + pull_request: + push: + branches: + - main + +name: continuous-integration + +jobs: + test: + runs-on: ubuntu-latest + name: Nushell formatter test + steps: + - uses: actions/checkout@v4 + - uses: hustcer/setup-nu@main + with: + version: "*" + - run: version; print $"(char nl)Dir contents:(char nl)"; ls ((which nu).path.0 | path dirname) + - run: nu run_test.nu