Merge pull request #109 from dmcgowan/update-gha
Update checkout and lint actions
This commit is contained in:
		
							
								
								
									
										14
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -25,13 +25,13 @@ jobs: | |||||||
|         os: [ubuntu-latest, macos-latest, windows-latest] |         os: [ubuntu-latest, macos-latest, windows-latest] | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v2 |       - uses: actions/checkout@v3 | ||||||
|       - name: golangci-lint |       - name: golangci-lint | ||||||
|         uses: golangci/golangci-lint-action@v2 |         uses: golangci/golangci-lint-action@v3 | ||||||
|         with: |         with: | ||||||
|           version: v1.43.0 |           version: v1.45.0 | ||||||
|           args: --timeout=5m |           args: --timeout=5m | ||||||
|           only-new-issues: true |           skip-cache: true | ||||||
|       - name: golangci-lint errors |       - name: golangci-lint errors | ||||||
|         run: golangci-lint run |         run: golangci-lint run | ||||||
|         if: ${{ failure() }} |         if: ${{ failure() }} | ||||||
| @@ -49,7 +49,7 @@ jobs: | |||||||
|         with: |         with: | ||||||
|           go-version: '1.17' |           go-version: '1.17' | ||||||
|  |  | ||||||
|       - uses: actions/checkout@v2 |       - uses: actions/checkout@v3 | ||||||
|         with: |         with: | ||||||
|           path: src/github.com/containerd/ttrpc |           path: src/github.com/containerd/ttrpc | ||||||
|           fetch-depth: 25 |           fetch-depth: 25 | ||||||
| @@ -76,7 +76,7 @@ jobs: | |||||||
|         go-version: '1.17' |         go-version: '1.17' | ||||||
|  |  | ||||||
|     - name: Check out code |     - name: Check out code | ||||||
|       uses: actions/checkout@v2 |       uses: actions/checkout@v3 | ||||||
|       with: |       with: | ||||||
|         path: src/github.com/containerd/ttrpc |         path: src/github.com/containerd/ttrpc | ||||||
|         fetch-depth: 25 |         fetch-depth: 25 | ||||||
| @@ -114,7 +114,7 @@ jobs: | |||||||
|         echo "${{ github.workspace }}/bin" >> $GITHUB_PATH |         echo "${{ github.workspace }}/bin" >> $GITHUB_PATH | ||||||
|  |  | ||||||
|     - name: Check out code |     - name: Check out code | ||||||
|       uses: actions/checkout@v2 |       uses: actions/checkout@v3 | ||||||
|       with: |       with: | ||||||
|         path: src/github.com/containerd/ttrpc |         path: src/github.com/containerd/ttrpc | ||||||
|         fetch-depth: 25 |         fetch-depth: 25 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Derek McGowan
					Derek McGowan