implemented .env varibale to be load #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting Generated Blueprints | |
on: | |
pull_request: {} | |
workflow_dispatch: {} | |
jobs: | |
install_dependencies: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
- name: Install Dependencies | |
run: go mod download | |
framework_matrix: | |
needs: install_dependencies | |
strategy: | |
matrix: | |
framework: | |
[chi, gin, fiber, gorilla/mux, httprouter, standard-library, echo] | |
goVersion: ["1.20"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.goVersion }} | |
- name: build templates | |
run: go run main.go create -n ${{ matrix.framework }} -f ${{ matrix.framework}} | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.55.2 | |
working-directory: ${{ matrix.framework }} | |
args: --timeout=5m |