Skip to content

Commit

Permalink
asyncapi#196 fix wrong ci.yml merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Senn Geerts authored and Senn Geerts committed Jul 13, 2024
1 parent e804aaf commit 1bb7d30
Showing 1 changed file with 25 additions and 30 deletions.
55 changes: 25 additions & 30 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# Note: ci.yaml and release.yaml have some similar steps
# If updating dotnet-version, set in both.

name: CI
name: ci

on:
push:
Expand All @@ -10,34 +7,32 @@ on:
pull_request:

jobs:
build:

build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 'lts/*' # latest LTS version
- uses: actions/setup-dotnet@v2
with:
dotnet-version: |
6.0.x
8.0.x
- uses: actions/checkout@v2
- name: setup build
uses: ./.github/npm
- name: Run dotnet build
run: dotnet build --configuration Debug

- name: Run NPM install
run: npm ci
working-directory: ./src/Saunter.UI
- name: Run dotnet build src
run: dotnet build ./src/Saunter-src.slnf --configuration Debug
- name: Run dotnet build all
run: dotnet build --configuration Debug
- name: Run dotnet test
run: dotnet test --no-build
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup dotnet
uses: ./.github/dotnet
- name: dotnet format check
run: dotnet format --verify-no-changes *.sln
env:
PATH: ${{ github.env.PATH }}:/home/runner/.dotnet/tools

# Below steps run only on CI, not release
- uses: actions/upload-artifact@v2
with:
name: saunter-bin
path: ./src/Saunter/bin
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup build
uses: ./.github/npm
- name: unit test
run: dotnet test --configuration Debug

0 comments on commit 1bb7d30

Please sign in to comment.