From a0eb563855b86cb803053a5ea21cc4fa5b331c74 Mon Sep 17 00:00:00 2001 From: paq <89paku@gmail.com> Date: Sat, 9 May 2026 13:47:59 +0900 Subject: [PATCH 1/2] dotnet install cshapier --version 1.2.6 --- dotnet-tools.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dotnet-tools.json diff --git a/dotnet-tools.json b/dotnet-tools.json new file mode 100644 index 00000000..8d74243d --- /dev/null +++ b/dotnet-tools.json @@ -0,0 +1,13 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "csharpier": { + "version": "1.2.6", + "commands": [ + "csharpier" + ], + "rollForward": false + } + } +} From b078f4c3ce11b39352817183f7703d681a74b70e Mon Sep 17 00:00:00 2001 From: paq <89paku@gmail.com> Date: Sat, 9 May 2026 13:49:08 +0900 Subject: [PATCH 2/2] ci: add workflow for linting and testing --- .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 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 00000000..73aba506 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,38 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - name: Setup .NET + uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1 + with: + dotnet-version: 10.0.x + - name: Restore + run: dotnet tool restore + - name: Lint + run: dotnet csharpier check . + + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - name: Setup .NET + uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1 + with: + dotnet-version: 10.0.x + - name: Restore + run: dotnet restore Lua.slnx + - name: Test + run: dotnet test tests/Lua.Tests/Lua.Tests.csproj -c Release --filter "TestCategory!=ExpectedFailure"