From ab3ece997e9c4f16fa9e7f3fc4447bdddfaa0107 Mon Sep 17 00:00:00 2001 From: yuki Date: Fri, 10 May 2024 21:53:13 +0800 Subject: [PATCH] Update and rename build-test.yml to test-catnip.yml --- .github/workflows/{build-test.yml => test-catnip.yml} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename .github/workflows/{build-test.yml => test-catnip.yml} (73%) diff --git a/.github/workflows/build-test.yml b/.github/workflows/test-catnip.yml similarity index 73% rename from .github/workflows/build-test.yml rename to .github/workflows/test-catnip.yml index 5360f36..7120682 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/test-catnip.yml @@ -1,4 +1,4 @@ -name: build-test +name: test-catnip on: push: pull_request: @@ -7,15 +7,16 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Checkout Repository' - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 'Install Nim' uses: iffy/install-nim@v5 - name: 'Setup Nim' uses: jiro4989/setup-nim-action@v1 with: - nim-version: '2.x' + nim-version: 'stable' + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: 'Build Catnip' - run: nim release + run: nim debug - name: 'Install Figlet' run: sudo apt-get install figlet - name: 'Run Tests'