Skip to content

Implement LSP CodeAction resolve #674

Implement LSP CodeAction resolve

Implement LSP CodeAction resolve #674

Workflow file for this run

name: 'Build'
env:
DotNetVersion: "7.0.100-rc.1.22431.12"
DotNetVersion2: "6.0.202"
NuGetVersion: "5.7.0"
MonoVersion: "6.12.0"
Artifacts: ${{ github.workspace }}/artifacts/
Coverage: ${{ github.workspace }}/coverage/
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "true"
defaults:
run:
shell: pwsh
on:
pull_request:
paths-ignore:
- 'CHANGELOG.md'
branches:
- master
- feature/*
tags:
- '*'
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2022, macos-11]
name: 'Build'
steps:
- name: Checkout
uses: actions/checkout@v2
with:
clean: 'false'
fetch-depth: '0'
# TODO: Need to figure out the correct way to install mono on linux / mac
# Currently the latest image has mono 6.12
# https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-README.md
# - name: 🔨 Use Mono ${{ env.MonoVersion }} SDK
# uses: maxim-lobanov/setup-xamarin@v1
# with:
# mono-version: ${{ env.MonoVersion }}
- name: Setup NuGet.exe
uses: nuget/setup-nuget@v1
with:
nuget-version: ${{ env.NuGetVersion }}
- name: 🔨 Use .NET Core SDKs
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
${{ env.DotNetVersion2 }}
${{ env.DotNetVersion }}
- name: 🎁 dotnet tool restore
run: |
dotnet tool restore
- name: 🎁 nuget install
run: |
nuget install tools/packages.config -ExcludeVersion -OutputDirectory tools
# - name: 🍰 Run Cake
# run: |
# dotnet cake --bootstrap
# dotnet cake --configuration=Release --verbosity=Verbose --target=CI --publish-all --archive
- name: 🍰 Run Cake
if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }}
shell: bash
run: |
echo $PATH
chmod 755 ./build.sh
./build.sh --configuration Release --verbosity Verbose --target CI --publish-all --archive
- name: 🍰 Run Cake
if: ${{ runner.os == 'Windows' }}
shell: powershell
run: |
.\build.ps1 -configuration Release -verbosity Verbose -target CI --publish-all --archive
- name: ⬆ Publish Logs
uses: actions/upload-artifact@v2
continue-on-error: true
if: ${{ always() }}
with:
name: 'logs - ${{ github.workflow }} ${{ matrix.os }}'
path: '${{ env.Artifacts }}/logs/'
- name: ⬆ Publish Packages
uses: actions/upload-artifact@v2
continue-on-error: true
if: ${{ always() }}
with:
name: 'packages'
path: '${{ env.Artifacts }}/package/'
- name: ⬆ Publish Deployment
uses: actions/upload-artifact@v2
continue-on-error: true
if: ${{ always() }}
with:
name: 'deployment'
path: '${{ env.Artifacts }}/deployment/'
- name: ⬆ Publish NuGet
uses: actions/upload-artifact@v2
continue-on-error: true
if: ${{ always() }}
with:
name: 'nuget'
path: '${{ env.Artifacts }}/nuget/'
- name: ⬆ Publish Scripts
uses: actions/upload-artifact@v2
continue-on-error: true
if: ${{ always() }}
with:
name: 'scripts - ${{ matrix.os }}'
path: '${{ env.Artifacts }}/scripts/'