Skip to content

Migrate to GitHub Actions and implement source-based versioning #28

Migrate to GitHub Actions and implement source-based versioning

Migrate to GitHub Actions and implement source-based versioning #28

Workflow file for this run

name: ci
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build-and-test:
name: build-and-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v5
with:
global-json-file: global.json
- name: build
run: dotnet build ./src/Dax.Formatter.sln --configuration Release
- name: test
run: dotnet test ./src/Dax.Formatter.Tests/Dax.Formatter.Tests.csproj --configuration Release --no-build --verbosity normal
- name: pack
run: dotnet pack ./src/Dax.Formatter/Dax.Formatter.csproj --configuration Release --no-build