Skip to content

Commit 543373d

Browse files
committed
ci: enabled support for generic type alias in tests for go 1.23
1 parent c49af80 commit 543373d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ jobs:
5757
env:
5858
DEFAULT_DATASOURCE: mongodb://127.0.0.1:27017/elemental?replicaSet=rs0
5959
SECONDARY_DATASOURCE: mongodb://127.0.0.1:27018/elemental?replicaSet=rs1
60-
GOEXPERIMENT: ${{ matrix.go-version == '1.23' && 'aliastypeparams' || '' }}
60+
GOEXPERIMENT: ${{ matrix.go-version == '1.23' && 'aliastypeparams' }}
61+
GODEBUG: ${{ matrix.go-version == '1.23' && 'gotypesalias=1' }}
6162

6263
- name: Upload coverage report
6364
if: github.event_name == 'pull_request' && github.base_ref == 'main' && matrix.go-version == '1.24' && matrix.mongo-version == '8.0'

0 commit comments

Comments
 (0)