From 5412a5c69d3910089359659af15b8e6ec1bee795 Mon Sep 17 00:00:00 2001 From: Thomas Miceli Date: Thu, 24 Oct 2024 23:28:02 +0200 Subject: [PATCH 1/4] Add CI for build --- .github/workflows/go.yml | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3062f5b6..5987ca5c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -27,9 +27,9 @@ jobs: - name: Lint uses: golangci/golangci-lint-action@v3 with: - version: v1.54 - skip-pkg-cache: true - args: --out-format=colored-line-number --timeout=20m + version: v1.54 + skip-pkg-cache: true + args: --out-format=colored-line-number --timeout=20m - name: Format run: make fmt check_changes @@ -115,4 +115,25 @@ jobs: go-version: ${{ matrix.go }} - name: Run tests - run: make test TEST_DB_TYPE=${{ matrix.database }} \ No newline at end of file + run: make test TEST_DB_TYPE=${{ matrix.database }} + + build: + name: Build + strategy: + fail-fast: false + matrix: + os: ["ubuntu-latest", "macOS-latest", "windows-latest"] + go: ["1.22"] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Set up Go 1.22 + uses: actions/setup-go@v4 + with: + go-version: ${{ matrix.os }} + + - name: Build + shell: bash + run: make build From 7172624e2e20a8542bfb4608501c265bc46c787a Mon Sep 17 00:00:00 2001 From: Thomas Miceli Date: Thu, 24 Oct 2024 23:29:46 +0200 Subject: [PATCH 2/4] Typo --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5987ca5c..c82cd084 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -132,7 +132,7 @@ jobs: - name: Set up Go 1.22 uses: actions/setup-go@v4 with: - go-version: ${{ matrix.os }} + go-version: ${{ matrix.go }} - name: Build shell: bash From 46a80bd2e98e1498ee01b26d03149da753a0f21e Mon Sep 17 00:00:00 2001 From: Thomas Miceli Date: Thu, 24 Oct 2024 23:30:52 +0200 Subject: [PATCH 3/4] Typo --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c82cd084..47728646 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -136,4 +136,4 @@ jobs: - name: Build shell: bash - run: make build + run: make From 0d012e5eca528f027a8f0d2cc13d3c336ee3f307 Mon Sep 17 00:00:00 2001 From: Thomas Miceli Date: Thu, 24 Oct 2024 23:31:54 +0200 Subject: [PATCH 4/4] Fix postcss build --- public/tailwind-embed.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/tailwind-embed.config.js b/public/tailwind-embed.config.js index 5102e645..d1b054dd 100644 --- a/public/tailwind-embed.config.js +++ b/public/tailwind-embed.config.js @@ -7,6 +7,8 @@ module.exports = { ], theme: { colors: { + transparent: 'transparent', + current: 'currentColor', white: colors.white, black: colors.black, gray: {