Fix issue 489 - trace level messages get evaluated to send to Pulumi engine #1125
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: Besom build and test | |
on: | |
push: | |
branches: [ 'main', 'develop' ] | |
paths-ignore: | |
- '**.md' | |
- 'LICENSE' | |
- 'templates/**' | |
- 'examples/**' | |
- 'proto/**' | |
- 'experimental/**' | |
- 'website/**' | |
pull_request: | |
branches: [ 'main', 'develop' ] | |
types: [ 'opened', 'reopened', 'synchronize' ] | |
paths-ignore: | |
- '**.md' | |
- 'LICENSE' | |
- 'templates/**' | |
- 'examples/**' | |
- 'proto/**' | |
- 'experimental/**' | |
- 'website/**' | |
env: | |
PULUMI_CONFIG_PASSPHRASE: 'passphrase' | |
PULUMI_SKIP_UPDATE_CHECK: 'true' | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
format: | |
if: "! github.event.pull_request.head.repo.fork" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: coursier/cache-action@v6.4.3 | |
- uses: VirtusLab/scala-cli-setup@v1.1.0 | |
- name: Scalafmt list | |
run: | | |
scala-cli fmt . -F --list --respect-project-filters || ( | |
echo "To format code run" | |
echo " scala-cli fmt ." | |
exit 1 | |
) | |
# we need: scala-cli, protoc, go, just, pulumi, java | |
build: | |
if: "! github.event.pull_request.head.repo.fork" | |
runs-on: ubuntu-latest | |
timeout-minutes: 45 | |
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.116.1' | |
- uses: coursier/cache-action@v6.4.3 | |
- uses: VirtusLab/scala-cli-setup@v1.1.0 | |
with: | |
jvm: graalvm-java11:22.3.3 | |
apps: sbt | |
power: true | |
- uses: arduino/setup-protoc@v1 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Clean workspace | |
run: just clean-all | |
- name: Compile everything | |
run: just compile-all | |
- name: Unit test most of the things | |
run: just test-json test-sdk test-codegen | |
- name: Publish local for integration tests | |
run: just publish-local-all | |
- name: Integration test | |
run: scala-cli --power test integration-tests |