Skip to content

Commit

Permalink
[build]: Update PCF Tools packages to v0.3.0 (#18)
Browse files Browse the repository at this point in the history
* [build]: Update PCF Tools packages to v0.3.0

* dotnet msbuild -t:UpdatePcfPackagesVersion -p:NewVersion=1.32.5

* npm i -D typescript@latest

* npm audit fix

* npm i -D @microsoft/eslint-plugin-power-apps @types/node@20 @types/powerapps-component-framework @types/xrm@latest @typescript-eslint/eslint-plugin @typescript-eslint/parser

---------

Co-authored-by: [pcf-tools] <you@example.com>
  • Loading branch information
cathalnoonan and [pcf-tools] authored May 26, 2024
1 parent 7eeb145 commit 2b21eff
Show file tree
Hide file tree
Showing 10 changed files with 325 additions and 365 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"image": "mcr.microsoft.com/devcontainers/javascript-node:20-bookworm",
"features": {
"ghcr.io/devcontainers/features/dotnet:2": {
"version": "6.0"
"version": "8.0"
}
},
"customizations": {
Expand Down
1 change: 1 addition & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ changelog:
exclude:
labels:
- dependencies
- no-release-note
- title: Dependencies
labels:
- dependencies
6 changes: 4 additions & 2 deletions .github/workflows/BUILD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ jobs:
cache-dependency-path: control/package-lock.json
- name: "Setup: dotnet"
uses: actions/setup-dotnet@v4
- name: "Build: dotnet restore"
run: dotnet restore
- name: "Build: dotnet build"
run: dotnet build
run: dotnet build --no-restore
- name: "Build: dotnet test"
run: dotnet test --no-build
- name: "Artifacts: Create file containing URL of repo"
run: echo "${{ github.server_url }}/${{ github.repository }}" > ./dist/repo-url.txt
- name: "Release: Upload artifact"
- name: "Artifacts: Upload artifact"
uses: actions/upload-artifact@v4
with:
name: ${{ github.event.repository.name }}__extract_this_zip
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: devcontainer

on:
push:
branches:
- "**"
paths:
- ".devcontainer/**"
- ".github/workflows/devcontainer.yml"
- "compose.yml"

jobs:
devcontainer:
runs-on: ubuntu-latest
steps:
- name: "Setup: Checkout"
uses: actions/checkout@v4
- name: "Test: Build and run dev container"
uses: devcontainers/ci@v0.3
with:
runCmd: dotnet build
push: never
4 changes: 2 additions & 2 deletions control/control.pcfproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Sdk Name="Cathal.PcfTools.MSBuild.Control" Version="0.2.2" />
<Sdk Name="Cathal.PcfTools.MSBuild.Control" Version="0.3.0" />
<PropertyGroup>
<PowerAppsTargetsPath>$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\PowerApps</PowerAppsTargetsPath>
</PropertyGroup>
Expand All @@ -18,7 +18,7 @@
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.PowerApps.MSBuild.Pcf" Version="1.27.5" />
<PackageReference Include="Microsoft.PowerApps.MSBuild.Pcf" Version="1.32.5" />
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
Expand Down
Loading

0 comments on commit 2b21eff

Please sign in to comment.