|
|
|
@ -13,15 +13,15 @@ jobs: |
|
|
|
|
runs-on: ${{ matrix.os }} |
|
|
|
|
steps: |
|
|
|
|
- name: Install Go |
|
|
|
|
uses: actions/setup-go@v2 |
|
|
|
|
uses: actions/setup-go@v3 |
|
|
|
|
with: |
|
|
|
|
go-version: ${{ matrix.go-version }} |
|
|
|
|
|
|
|
|
|
- name: Checkout code |
|
|
|
|
uses: actions/checkout@v2 |
|
|
|
|
uses: actions/checkout@v3 |
|
|
|
|
|
|
|
|
|
- name: Restore Cache |
|
|
|
|
uses: actions/cache@v2 |
|
|
|
|
uses: actions/cache@v3 |
|
|
|
|
with: |
|
|
|
|
path: ~/go/pkg/mod |
|
|
|
|
key: ${{ runner.os }}-v1-go-${{ hashFiles('**/go.sum') }} |
|
|
|
@ -43,7 +43,7 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/setup-go@v3 |
|
|
|
|
with: |
|
|
|
|
go-version: 1.16 |
|
|
|
|
go-version: 1.18.x |
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
- name: golangci-lint |
|
|
|
|
uses: golangci/golangci-lint-action@v3 |
|
|
|
|