Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for continued support #64

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Apply Prettier
  • Loading branch information
withinfocus committed Sep 25, 2024
commit cc25df7206bf975aaa6cd2af1311826ff1c305dd
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

// Run bash script in .devcontainer directory
"postCreateCommand": "/usr/bin/pwsh -nop -f ./.devcontainer/createorupdate.ps1 > ~/post-create.log"
}
}
61 changes: 30 additions & 31 deletions .github/workflows/ci-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,50 +3,49 @@ name: ci-dotnet
on:
push:
branches:
- '**'
- "**"
paths:
- '.github/workflows/ci-function.yml'
- 'functions/**'
- ".github/workflows/ci-function.yml"
- "functions/**"
pull_request:
branches: [ main ]
branches: [main]
paths-ignore:
- '**/README.md'
- '**/LICENSE'
- 'visuals/**'
- "**/README.md"
- "**/LICENSE"
- "visuals/**"

schedule:
- cron: '0 2 * * *'
- cron: "0 2 * * *"

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
AZURE_FUNCTIONAPP_PACKAGE_PATH: './functions'
DOTNET_VERSION: '6.0.x'
AZURE_FUNCTIONAPP_PACKAGE_PATH: "./functions"
DOTNET_VERSION: "6.0.x"

jobs:
dotnet:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Restore dependencies
run: |
pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
dotnet restore
popd
- name: Build
run: |
pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
dotnet build --no-restore --output ./bin/publish
popd
- name: Test
run: |
pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
dotnet test --no-build --verbosity normal
popd
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Restore dependencies
run: |
pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
dotnet restore
popd
- name: Build
run: |
pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
dotnet build --no-restore --output ./bin/publish
popd
- name: Test
run: |
pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
dotnet test --no-build --verbosity normal
popd
11 changes: 3 additions & 8 deletions .github/workflows/ci-scripted-strategy.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"os": [
"ubuntu-latest"
],
"compatible": [
"backward",
"forward"
],
"os": ["ubuntu-latest"],
"compatible": ["backward", "forward"],
"include": [
{
"compatible": "backward",
Expand All @@ -28,4 +23,4 @@
"upgrade_azure_cli": true
}
]
}
}
Loading