Update GitHub Actions CI to resolve deprecation warnings
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
This commit is contained in:
		
							
								
								
									
										40
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										40
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -27,16 +27,16 @@ jobs: | |||||||
|         os: [ubuntu-latest, macos-latest, windows-latest] |         os: [ubuntu-latest, macos-latest, windows-latest] | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v3 |       - uses: actions/checkout@v4 | ||||||
|         with: |         with: | ||||||
|           path: src/github.com/containerd/ttrpc |           path: src/github.com/containerd/ttrpc | ||||||
|  |  | ||||||
|       - uses: actions/setup-go@v3 |       - uses: actions/setup-go@v5 | ||||||
|         with: |         with: | ||||||
|           go-version: ${{ env.GO_VERSION }} |           go-version: ${{ env.GO_VERSION }} | ||||||
|  |  | ||||||
|       - name: golangci-lint |       - name: golangci-lint | ||||||
|         uses: golangci/golangci-lint-action@v3 |         uses: golangci/golangci-lint-action@v4 | ||||||
|         with: |         with: | ||||||
|           version: v1.51.2 |           version: v1.51.2 | ||||||
|           args: --timeout=5m |           args: --timeout=5m | ||||||
| @@ -57,15 +57,15 @@ jobs: | |||||||
|     timeout-minutes: 5 |     timeout-minutes: 5 | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/setup-go@v3 |       - uses: actions/checkout@v4 | ||||||
|         with: |  | ||||||
|           go-version: ${{ env.GO_VERSION }} |  | ||||||
|  |  | ||||||
|       - uses: actions/checkout@v3 |  | ||||||
|         with: |         with: | ||||||
|           path: src/github.com/containerd/ttrpc |           path: src/github.com/containerd/ttrpc | ||||||
|           fetch-depth: 25 |           fetch-depth: 25 | ||||||
|  |  | ||||||
|  |       - uses: actions/setup-go@v5 | ||||||
|  |         with: | ||||||
|  |           go-version: ${{ env.GO_VERSION }} | ||||||
|  |  | ||||||
|       - uses: containerd/project-checks@v1.1.0 |       - uses: containerd/project-checks@v1.1.0 | ||||||
|         with: |         with: | ||||||
|           working-directory: src/github.com/containerd/ttrpc |           working-directory: src/github.com/containerd/ttrpc | ||||||
| @@ -85,16 +85,16 @@ jobs: | |||||||
|     timeout-minutes: 10 |     timeout-minutes: 10 | ||||||
|     steps: |     steps: | ||||||
|  |  | ||||||
|     - uses: actions/setup-go@v3 |  | ||||||
|       with: |  | ||||||
|         go-version: ${{ matrix.go }} |  | ||||||
|  |  | ||||||
|     - name: Check out code |     - name: Check out code | ||||||
|       uses: actions/checkout@v3 |       uses: actions/checkout@v4 | ||||||
|       with: |       with: | ||||||
|         path: src/github.com/containerd/ttrpc |         path: src/github.com/containerd/ttrpc | ||||||
|         fetch-depth: 25 |         fetch-depth: 25 | ||||||
|  |  | ||||||
|  |     - uses: actions/setup-go@v5 | ||||||
|  |       with: | ||||||
|  |         go-version: ${{ matrix.go }} | ||||||
|  |  | ||||||
|     - name: Test |     - name: Test | ||||||
|       working-directory: src/github.com/containerd/ttrpc |       working-directory: src/github.com/containerd/ttrpc | ||||||
|       run: | |       run: | | ||||||
| @@ -119,7 +119,13 @@ jobs: | |||||||
|     timeout-minutes: 5 |     timeout-minutes: 5 | ||||||
|     steps: |     steps: | ||||||
|  |  | ||||||
|     - uses: actions/setup-go@v3 |     - name: Check out code | ||||||
|  |       uses: actions/checkout@v4 | ||||||
|  |       with: | ||||||
|  |         path: src/github.com/containerd/ttrpc | ||||||
|  |         fetch-depth: 25 | ||||||
|  |  | ||||||
|  |     - uses: actions/setup-go@v5 | ||||||
|       with: |       with: | ||||||
|         go-version: ${{ env.GO_VERSION }} |         go-version: ${{ env.GO_VERSION }} | ||||||
|       id: go |       id: go | ||||||
| @@ -130,12 +136,6 @@ jobs: | |||||||
|         echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV |         echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV | ||||||
|         echo "${{ github.workspace }}/bin" >> $GITHUB_PATH |         echo "${{ github.workspace }}/bin" >> $GITHUB_PATH | ||||||
|  |  | ||||||
|     - name: Check out code |  | ||||||
|       uses: actions/checkout@v3 |  | ||||||
|       with: |  | ||||||
|         path: src/github.com/containerd/ttrpc |  | ||||||
|         fetch-depth: 25 |  | ||||||
|  |  | ||||||
|     - name: Install dependencies |     - name: Install dependencies | ||||||
|       working-directory: src/github.com/containerd/ttrpc |       working-directory: src/github.com/containerd/ttrpc | ||||||
|       run: | |       run: | | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Austin Vazquez
					Austin Vazquez