CI: bump setup-dlang to v2

Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
This commit is contained in:
Andrei Horodniceanu 2025-07-06 12:36:17 +03:00
parent d8e43e23ec
commit e79995a3a9
1 changed files with 3 additions and 3 deletions

View File

@ -20,15 +20,15 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: dlang-community/setup-dlang@4c99aa991ce7d19dd3064de0a4f2f6b2f152e2d7 - uses: dlang-community/setup-dlang@v2
- name: 'Build & Test' - name: 'Build & Test'
run: | run: |
# Build the project, with its main file included, without unittests # Build the project, with its main file included, without unittests
dub build --compiler=$DC dub build
# Build and run tests, as defined by `unittest` configuration # Build and run tests, as defined by `unittest` configuration
# In this mode, `mainSourceFile` is excluded and `version (unittest)` are included # In this mode, `mainSourceFile` is excluded and `version (unittest)` are included
# See https://dub.pm/package-format-json.html#configurations # See https://dub.pm/package-format-json.html#configurations
dub test --compiler=$DC dub test
# Run tests # Run tests
cd tests && rdmd test cd tests && rdmd test