We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41bd343 commit cf39b78Copy full SHA for cf39b78
.github/workflows/lint.yml
@@ -15,17 +15,16 @@ jobs:
15
with:
16
go-version-file: go.mod
17
- name: Get date
18
- id: get-date
19
shell: bash
20
run: |
21
- echo "::set-output name=date::$(date -u "+%Y-%m")"
+ echo "DATE=$(date -u '+%Y-%m')" >> $GITHUB_ENV
22
- name: Restore golangci-lint cache
23
uses: actions/cache@v4
24
timeout-minutes: 10
25
continue-on-error: true
26
27
path: ${{ runner.temp }}/golangci-lint-cache
28
- key: ${{ runner.os }}-golangci-lint-cache-${{ steps.get-date.outputs.date }}
+ key: ${{ runner.os }}-golangci-lint-cache-${{ env.DATE }}
29
restore-keys: |
30
${{ runner.os }}-golangci-lint-cache-
31
- name: Run golangci-lint
0 commit comments