forked from byu-dafny/dafny
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply whitespaces formatting rules to entire codebase and run dotnet-…
…format in the build (dafny-lang#1389) Co-authored-by: Remy Willems <>
- Loading branch information
1 parent
2ca4677
commit b5ad10a
Showing
85 changed files
with
2,474 additions
and
3,124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,27 @@ on: | |
pull_request: | ||
branches: [ master ] | ||
|
||
env: | ||
dotnet-version: 5.0.x # SDK Version for building Dafny; x will use the latest version of the 5.0 channel | ||
jobs: | ||
format: | ||
runs-on: ubuntu-16.04 | ||
steps: | ||
- name: Setup dotnet 5.0 | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: ${{env.dotnet-version}} | ||
- name: Checkout Dafny | ||
uses: actions/checkout@v2 | ||
with: | ||
path: dafny | ||
- name: Restore tools | ||
working-directory: dafny/Source | ||
run: dotnet tool restore | ||
- name: Check code style | ||
working-directory: dafny/Source | ||
run: dotnet tool run dotnet-format -w --check Dafny.sln | ||
|
||
build: | ||
runs-on: ${{ matrix.os }} | ||
|
||
|
@@ -44,7 +64,7 @@ jobs: | |
- name: Setup dotnet 5.0 | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '5.0.x' # SDK Version for building Dafny; x will use the latest version of the 5.0 channel | ||
dotnet-version: ${{env.dotnet-version}} | ||
- name: C++ for ubuntu 16.04 | ||
if: matrix.os == 'ubuntu-16.04' | ||
run: | | ||
|
@@ -67,7 +87,6 @@ jobs: | |
- name: Checkout Dafny | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
path: dafny | ||
- name: Create release | ||
run: | | ||
|
Oops, something went wrong.