mirror of
https://github.com/thomiceli/opengist.git
synced 2024-12-22 20:42:40 +00:00
Fix build Postcss error (#353)
This commit is contained in:
parent
2bf434f00e
commit
ca44abfc43
2 changed files with 27 additions and 4 deletions
29
.github/workflows/go.yml
vendored
29
.github/workflows/go.yml
vendored
|
@ -27,9 +27,9 @@ jobs:
|
||||||
- name: Lint
|
- name: Lint
|
||||||
uses: golangci/golangci-lint-action@v3
|
uses: golangci/golangci-lint-action@v3
|
||||||
with:
|
with:
|
||||||
version: v1.54
|
version: v1.54
|
||||||
skip-pkg-cache: true
|
skip-pkg-cache: true
|
||||||
args: --out-format=colored-line-number --timeout=20m
|
args: --out-format=colored-line-number --timeout=20m
|
||||||
|
|
||||||
- name: Format
|
- name: Format
|
||||||
run: make fmt check_changes
|
run: make fmt check_changes
|
||||||
|
@ -115,4 +115,25 @@ jobs:
|
||||||
go-version: ${{ matrix.go }}
|
go-version: ${{ matrix.go }}
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: make test TEST_DB_TYPE=${{ matrix.database }}
|
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.go }}
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
shell: bash
|
||||||
|
run: make
|
||||||
|
|
2
public/tailwind-embed.config.js
vendored
2
public/tailwind-embed.config.js
vendored
|
@ -7,6 +7,8 @@ module.exports = {
|
||||||
],
|
],
|
||||||
theme: {
|
theme: {
|
||||||
colors: {
|
colors: {
|
||||||
|
transparent: 'transparent',
|
||||||
|
current: 'currentColor',
|
||||||
white: colors.white,
|
white: colors.white,
|
||||||
black: colors.black,
|
black: colors.black,
|
||||||
gray: {
|
gray: {
|
||||||
|
|
Loading…
Reference in a new issue