Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-c-martin committed Dec 20, 2023
1 parent 2bd4e04 commit 73c07fb
Show file tree
Hide file tree
Showing 30 changed files with 70,332 additions and 1,184 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set Node.js 16.x
- name: Set Node.js 20
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x

- name: Install dependencies
run: npm ci
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,5 @@ jobs:
- name: Live Test
uses: ./
with:
subscriptionId: ${{ vars.AZURE_SUBSCRIPTION_ID }}
resourceGroup: ${{ vars.AZURE_RESOURCE_GROUP }}
templateFile: test/scenarios/static-error/main.bicep
parametersFile: test/scenarios/static-error/main.bicepparam
action: validate
config: test/live/config.json
22 changes: 6 additions & 16 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,17 @@
name: 'Bicep Action'
description: 'Testing with Bicep Action'
description: 'Runs various Bicep deployment scenarios'
author: 'Anthony Martin'
inputs:
repo-token:
description: "A GitHub token for API access. Defaults to {{ github.token }}."
default: "${{ github.token }}"
required: true
subscriptionId:
config:
description: "Path to the JSON configuration file"
required: true
description: 'Subscription Id'
resourceGroup:
action:
description: "The action to perform"
required: true
description: 'Resource Group'
templateFile:
required: true
description: 'Template File'
parametersFile:
required: true
description: 'Parameters File'
whatIf:
required: false
description: 'Run what-if'
default: false
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit 73c07fb

Please sign in to comment.