From c544c50c2a8b3470eefc6646121e975b28d413a4 Mon Sep 17 00:00:00 2001 From: t-umeda Date: Wed, 24 Jul 2024 04:05:15 +0900 Subject: [PATCH] fix: fix workflow --- .github/workflows/lint_and_test.yaml | 29 ---------------------------- 1 file changed, 29 deletions(-) diff --git a/.github/workflows/lint_and_test.yaml b/.github/workflows/lint_and_test.yaml index cfa55ce..798cdc8 100644 --- a/.github/workflows/lint_and_test.yaml +++ b/.github/workflows/lint_and_test.yaml @@ -15,39 +15,10 @@ jobs: uses: golangci/golangci-lint-action@v6 with: version: v1.59.1 - - name: asdf cache - id: asdf_cache_id - uses: actions/cache@v4 - with: - path: ~/.asdf - key: ${{ runner.os }}-asdf-${{ hashFiles('.tool-versions') }} - restore-keys: | - ${{ runner.os }}-asdf- - - name: install asdf & tools - if: steps.asdf_cache_id.outputs.cache-hit != 'true' - uses: asdf-vm/actions/install@v3.0.2 - - name: asdf go cache - id: asdf_go_cache_id - uses: actions/cache@v4 - with: - path: ~/.asdf/installs/golang - key: ${{ runner.os }}-asdf-${{ hashFiles('.tool-versions') }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-asdf-go- - name: go mod tidy and install - if: steps.asdf_go_cache_id.outputs.cache-hit != 'true' run: | go mod tidy make install-go-tools - - name: go mod cache - uses: actions/cache@v4 - with: - path: | - ~/go/pkg/mod - ~/.cache/go-build - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - name: build run: make build - name: testing