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