From 9bb9e2eb51860eebcdeea077054b63494fa16a0d Mon Sep 17 00:00:00 2001 From: Arjun Raja Yogidas Date: Mon, 26 Aug 2024 18:47:27 +0000 Subject: [PATCH 1/2] Add config file to test brew install Signed-off-by: Arjun Raja Yogidas --- lima_config.yaml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 lima_config.yaml diff --git a/lima_config.yaml b/lima_config.yaml new file mode 100644 index 0000000..0bc91e5 --- /dev/null +++ b/lima_config.yaml @@ -0,0 +1,3 @@ +portForwards: +- guestSocket: "/run/finch.sock" + hostSocket: "{{.Dir}}/sock/finch.sock" \ No newline at end of file From 71cf8732147ed6e2561e3b8bf9f10f0af4dbe131 Mon Sep 17 00:00:00 2001 From: Arjun Raja Yogidas Date: Wed, 4 Sep 2024 17:29:12 +0000 Subject: [PATCH 2/2] add lint checker Signed-off-by: Arjun Raja Yogidas --- .github/workflows/ci.yaml | 13 +++++++++++++ setup-test-env.sh | 3 +-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5b33671..a13d92c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -33,6 +33,19 @@ jobs: run: | git secrets --register-aws git secrets --scan-history + go-linter: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 + with: + go-version-file: go.mod + cache: true + - name: golangci-lint + uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0 + with: + version: v1.51.2 + args: --fix=false unit-test: runs-on: ubuntu-latest steps: diff --git a/setup-test-env.sh b/setup-test-env.sh index 3c0abde..99d0bb3 100755 --- a/setup-test-env.sh +++ b/setup-test-env.sh @@ -40,5 +40,4 @@ export PATH=$PATH:/usr/local/bin sudo containerd & sudo buildkitd & -sleep 2 - +sleep 2 \ No newline at end of file