chore: bring caching back

This commit is contained in:
Oleksandr Smirnov 2025-02-27 23:48:08 +02:00
parent 7da0a7e492
commit 4d28e79d54
No known key found for this signature in database

View file

@ -27,9 +27,6 @@ jobs:
version: 3.x version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Go mod init
run: go mod init github.com/olexsmir/gopher.nvim
- name: Install Go - name: Install Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
@ -41,6 +38,20 @@ jobs:
neovim: true neovim: true
version: ${{ matrix.versions }} version: ${{ matrix.versions }}
- name: Get Date
id: get-date
shell: bash
run: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
- name: Cache .tests
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/.tests
~/go/pkg/mod
~/go/bin
key: ${{ runner.os }}-tests-${{ steps.get-date.outputs.date }}
- name: Install Go bins - name: Install Go bins
run: | run: |
nvim --version nvim --version