Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/duely.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Duely
on:
pull_request:
paths:
- Duely/**
defaults:
run:
shell: bash
working-directory: Duely
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET 8.0.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.x"
- name: Run tests
run: dotnet test Duely.sln
20 changes: 20 additions & 0 deletions .github/workflows/exesh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Exesh
on:
pull_request:
paths:
- Exesh/**
defaults:
run:
shell: bash
working-directory: Exesh
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: "^1.24.0"
- name: Run tests
run: go test -v ./...
20 changes: 20 additions & 0 deletions .github/workflows/taski.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Taski
on:
pull_request:
paths:
- Taski/**
defaults:
run:
shell: bash
working-directory: Taski
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: "^1.24.0"
- name: Run tests
run: go test -v ./...
2 changes: 1 addition & 1 deletion Duely/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN dotnet build Duely.sln -c Release --no-restore
RUN dotnet publish src/Duely/Duely.csproj -c Release -o /out --no-build

FROM base AS migration
RUN dotnet tool install --global dotnet-ef
RUN dotnet tool install --global dotnet-ef --version 9.0.10
RUN dotnet build Duely.sln -c Release --no-restore
RUN dotnet publish src/Duely/Duely.csproj -c Release -o /migration-out --no-build

Expand Down
6 changes: 6 additions & 0 deletions Duely/Duely.sln
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duely.Domain.Services", "sr
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duely.Application.BackgroundJobs", "src\Duely.Application.BackgroundJobs\Duely.Application.BackgroundJobs.csproj", "{B1A348B2-0D59-489D-8EB6-230620CA5F35}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duely.Application.Tests", "tests\Duely.Application.Tests\Duely.Application.Tests.csproj", "{34A5A4A8-2D11-43DE-AB69-F0839089600D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -72,5 +74,9 @@ Global
{B1A348B2-0D59-489D-8EB6-230620CA5F35}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B1A348B2-0D59-489D-8EB6-230620CA5F35}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B1A348B2-0D59-489D-8EB6-230620CA5F35}.Release|Any CPU.Build.0 = Release|Any CPU
{34A5A4A8-2D11-43DE-AB69-F0839089600D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{34A5A4A8-2D11-43DE-AB69-F0839089600D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{34A5A4A8-2D11-43DE-AB69-F0839089600D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{34A5A4A8-2D11-43DE-AB69-F0839089600D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
2 changes: 2 additions & 0 deletions Exesh/example/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build ignore

package main

import (
Expand Down
2 changes: 1 addition & 1 deletion Taski/internal/usecase/task/usecase/random/usecase.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func NewUseCase(log *slog.Logger) *UseCase {
func (uc *UseCase) Random(query Query) (taskID task.ID, err error) {
// temp: hardcode only one existing task id
if err = taskID.FromString("7d971f50363cf0aebbd87d971f50363cf0aebbd8"); err != nil {
err = fmt.Errorf("failed to parse task id: %w")
err = fmt.Errorf("failed to parse task id: %w", err)
return
}
return
Expand Down
Loading