a
Some checks failed
Build and Deploy docker container / build (push) Failing after 1s

This commit is contained in:
Jonathan Branan 2024-11-02 21:22:56 -05:00
parent b03f001682
commit e5476d11e4

View File

@ -10,6 +10,26 @@ jobs:
env: env:
RUNNER_TOOL_CACHE: /toolcache RUNNER_TOOL_CACHE: /toolcache
steps: steps:
- uses: actions/setup-go@v3
with:
go-version: '1.20'
- uses: actions/go-hashfiles@v0.0.1
id: get-hash
with:
patterns: |-
**/yarn.lock
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ steps.get-hash.outputs.matched-files }}
restore-keys: |
${{ runner.os }}-yarn-
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set Node.js 22.x - name: Set Node.js 22.x
uses: actions/setup-node@v4 uses: actions/setup-node@v4