Skip to content

CI: update setup-dlang action to v2 #29

CI: update setup-dlang action to v2

CI: update setup-dlang action to v2 #29

Workflow file for this run

name: CI
on:
pull_request:
paths-ignore:
- "*.md"
- ".editorconfig"
- ".gitignore"
- "LICENSE"
push:
branches:
- "main"
paths-ignore:
- "*.md"
- ".editorconfig"
- ".gitignore"
- "LICENSE"
jobs:
lint:
name: Run `dub lint`
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dlang-community/setup-dlang@v2
- name: Run lint
run: dub lint -q
test:
name: Run `dub test`
strategy:
matrix:
dc: [dmd-latest, ldc-latest]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dlang-community/setup-dlang@v2
with:
compiler: ${{ matrix.dc }}
- name: Run test
run: dub test -q