From 4046450fe1284fcf9d1c73f2c29590edd02517fa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 20 May 2023 11:05:17 +0000 Subject: [PATCH 1/2] chore(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.2 to 1.8.3. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index b943634..c39c27e 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/mattn/go-sqlite3 v1.14.16 github.com/spf13/cobra v1.7.0 github.com/spf13/viper v1.15.0 - github.com/stretchr/testify v1.8.2 + github.com/stretchr/testify v1.8.3 github.com/vitorsalgado/mocha/v3 v3.0.2 golang.org/x/net v0.10.0 ) diff --git a/go.sum b/go.sum index e674052..a349c7a 100644 --- a/go.sum +++ b/go.sum @@ -290,8 +290,9 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= +github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI= From 5c393b27e15d566157c4869e422a6fa9a703d963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20COLL?= Date: Sat, 20 May 2023 13:39:55 +0200 Subject: [PATCH 2/2] ci: Activate caching --- .github/workflows/build.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3c797af..5811c95 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,11 +14,19 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: 'stable' + go-version-file: 'go.mod' + cache-dependency-path: 'go.sum' + + - uses: pnpm/action-setup@v2 + with: + version: 8 - uses: actions/setup-node@v3 with: node-version: 18.x + cache: 'pnpm' + cache-dependency-path: | + internal/web/pnpm-lock.yaml - uses: docker/setup-buildx-action@v2 @@ -43,8 +51,11 @@ jobs: - name: Web ESLint run: make vue-lint - - name: Build docker image - run: make build-docker + - uses: docker/build-push-action@v4 + with: + context: . + cache-from: type=gha + cache-to: type=gha,mode=max auto_merge: needs: @@ -56,5 +67,4 @@ jobs: steps: - uses: fastify/github-action-merge-dependabot@v3 with: - github-token: ${{ secrets.GITHUB_TOKEN }} - target: minor \ No newline at end of file + github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file