diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 40bf8f5..d13b7b6 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -19,6 +19,9 @@ jobs: - name: Set up Clang-Format run: sudo apt-get install -y clang-format + with: + cache: 'yarn' + cache-dependency-path: yarn.lock - name: Format source code run: clang-format -i game/**/*.cpp game/**/*.hpp --ferror-limit=0 --style file:.clang-format --verbose diff --git a/.github/workflows/pull_request_checks.yml b/.github/workflows/pull_request_checks.yml index d4b68c7..cb6f2d3 100644 --- a/.github/workflows/pull_request_checks.yml +++ b/.github/workflows/pull_request_checks.yml @@ -16,6 +16,9 @@ jobs: uses: actions/checkout@v3 - name: Build docker image run: docker-compose build + with: + cache: 'yarn' + cache-dependency-path: yarn.lock - name: Run tests run: docker-compose run test