diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/go.yml | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a038ee5..a8c53f6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -13,21 +13,15 @@ jobs: runs-on: ubuntu-latest steps: - - name: Setup Go - uses: actions/setup-go@v2 - with: - go-version: 1.18.x - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - - name: Load cached dependencies - uses: actions/cache@v1 + - name: Setup Go + uses: actions/setup-go@v3 with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- + go-version: 1.19.x + cache: true - name: Lint run: make lint |