Update the version of github actions (#4)

diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index 5797b16..72644de 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -9,14 +9,17 @@
 jobs:
   build:
 
-    runs-on: ubuntu-latest
+    runs-on: ${{ matrix.os }}
+    strategy:
+      matrix:
+        os: [ ubuntu-latest, windows-latest ]
 
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v4
     - name: Setup .NET
-      uses: actions/setup-dotnet@v1
+      uses: actions/setup-dotnet@v4
       with:
-        dotnet-version: 6.0.x
+        dotnet-version: '6.0.x'
     - name: Restore dependencies
       run: dotnet restore "src/Apache.IoTDB/Apache.IoTDB.csproj"
     - name: Build
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index d539f3b..11acf98 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -17,12 +17,12 @@
     steps:
 
     - name: Check out code into the CSharp module directory
-      uses: actions/checkout@v2
+      uses: actions/checkout@v4
 
     - name: Set Docker & Run Test
       run: |
         docker network create --subnet 172.18.0.0/24 iotdb-network && docker-compose -f docker-compose.yml up --build --abort-on-container-exit --remove-orphans
-        
+
     - name: Clean IoTDB & Shut Down Docker
       run: |
         docker-compose -f docker-compose.yml down