Browse Source

Update github actions version to v3 (#1395)

Keita Nonaka 3 years ago
parent
commit
bba819e4a3
2 changed files with 7 additions and 7 deletions
  1. 4 4
      .github/workflows/ci.yaml
  2. 3 3
      .github/workflows/release.yml

+ 4 - 4
.github/workflows/ci.yaml

@@ -11,7 +11,7 @@ jobs:
     container:
       image: swift
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
     - name: "Formatting and License Headers check"
       run: |
         SWIFTFORMAT_VERSION=0.49.4
@@ -41,7 +41,7 @@ jobs:
     container:
       image: ${{ matrix.image }}
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
     - name: 🔧 Build
       run: swift build ${{ matrix.swift-build-flags }}
       timeout-minutes: 20
@@ -100,7 +100,7 @@ jobs:
     container:
       image: ${{ matrix.image }}
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
     - name: 🧮 Allocation Counting Tests
       run: ./Performance/allocations/test-allocation-counts.sh
       env: ${{ matrix.env }}
@@ -120,7 +120,7 @@ jobs:
     container:
       image: ${{ matrix.image }}
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
     - name: Build without NIOSSL
       run: swift build
       env:

+ 3 - 3
.github/workflows/release.yml

@@ -9,8 +9,8 @@ jobs:
     runs-on: ubuntu-latest
 
     steps:
-      - uses: actions/checkout@v2
-      
+      - uses: actions/checkout@v3
+
       - name: Extract release version
         run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
 
@@ -20,7 +20,7 @@ jobs:
       - name: Zip the plugins
         run: |
           zip protoc-grpc-swift-plugins-linux-x86_64-${{ env.RELEASE_VERSION }}.zip protoc-gen-swift protoc-gen-grpc-swift
-      
+
       - name: Upload artifacts
         uses: softprops/action-gh-release@v1
         with: