diff --git a/.github/workflows/cli-create-build.yml b/.github/workflows/cli-create-build.yml index dcb47e5..d95e14d 100644 --- a/.github/workflows/cli-create-build.yml +++ b/.github/workflows/cli-create-build.yml @@ -1,4 +1,4 @@ -name: Create & build with 3lv +name: Create & build on: pull_request: @@ -12,7 +12,7 @@ on: jobs: create-build: - name: '' + name: Create & build runs-on: elvia-runner env: PROJECT_NAME: 'my-cool-project' @@ -37,8 +37,8 @@ jobs: - name: Build project run: | - # Convert to pascal case for .NET if [[ '${{ matrix.template }}' == "dotnet"* ]]; then + # Convert to pascal case for .NET cd $(echo "$PROJECT_NAME" | sed -r 's/(^|-)(.)/\U\2/g') else cd "$PROJECT_NAME" diff --git a/go-webapi/{{cookiecutter.application_name}}/go.mod b/go-webapi/{{cookiecutter.application_name}}/go.mod index d89faf1..ef1d73b 100644 --- a/go-webapi/{{cookiecutter.application_name}}/go.mod +++ b/go-webapi/{{cookiecutter.application_name}}/go.mod @@ -1,6 +1,6 @@ -module demo-api-go +module {{cookiecutter.application_name}} -go 1.22.6 +go 1.23 require github.com/gin-gonic/gin v1.10.0