Skip to content

make tailwind should be called tailwind-install instead #326 #102

make tailwind should be called tailwind-install instead #326

make tailwind should be called tailwind-install instead #326 #102

name: Linting Generated Blueprints Core
on:
pull_request: {}
workflow_dispatch: {}
jobs:
framework_matrix:
strategy:
matrix:
framework: [chi, gin, fiber, gorilla/mux, httprouter, standard-library, echo]
driver: [mysql, postgres, sqlite, mongo, redis, scylla, none]
git: [commit, stage, skip]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/[email protected]
- name: Commit report
run: |
git config --global user.name 'testname'
git config --global user.email '[email protected]'
- name: Set framework variable
id: set-proejct-directory
run: echo "PROJECT_DIRECTORY=${{ matrix.framework }}" | sed 's/\//-/g' >> $GITHUB_ENV
- name: build templates
run: script -q /dev/null -c "go run main.go create -n ${{ env.PROJECT_DIRECTORY }} -f ${{ matrix.framework}} -d ${{ matrix.driver }} -g ${{ matrix.git}}" /dev/null
- name: golangci-lint
run: |
cd ${{ env.PROJECT_DIRECTORY }}
golangci-lint run
- name: remove templates
run: rm -rf ${{ env.PROJECT_DIRECTORY }}