WIP: Improve all public APIs by dropping (using Context) #114
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Templates smoke tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ 'main', 'develop' ] | |
paths: | |
- 'templates/**' | |
pull_request: | |
branches: [ 'main', 'develop' ] | |
paths: | |
- 'templates/**' | |
env: | |
PULUMI_CONFIG_PASSPHRASE: 'passphrase' | |
PULUMI_SKIP_UPDATE_CHECK: 'true' | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
preview: | |
if: "! github.event.pull_request.head.repo.fork" | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: extractions/setup-just@v1 | |
with: | |
just-version: '1.14.0' # just for sanity | |
- uses: pulumi/actions@v4 | |
with: | |
pulumi-version: '3.94.2' | |
- uses: coursier/[email protected] | |
- uses: VirtusLab/[email protected] | |
with: | |
jvm: graalvm-java17:22.3.3 | |
power: true | |
- name: Login in to pulumi | |
run: pulumi login --local | |
- name: Test templates | |
run: |- | |
pulumi --logtostderr plugin install language scala $(cat version.txt) --server github://api.github.com/VirtusLab/besom | |
just test-templates |