diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 9144515..eef3f9d 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -7,18 +7,13 @@ on: branches: [ "main", "master" ] jobs: - run-tests: - # This MUST match the label you defined in your Docker Stack - runs-on: go-latest - + test: + runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Install dependencies - run: go mod tidy - - - name: Run Go Tests - # -v gives us verbose output so we see exactly what fails - # ./... runs tests in main and db_management + - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.26.1' + - name: Run Tests run: go test ./... -v \ No newline at end of file