feat ✨: added repo templates to go-blueprint repo #11
Workflow file for this run
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: | |
framework_matrix: | |
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 |