Skip to content

Test and Build

Test and Build #173

Workflow file for this run

name: Test and Build
on:
workflow_dispatch:
permissions:
contents: read
jobs:
format-patch:
name: Prepare integration formatting patch
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
with:
fetch-depth: 3
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
with:
bun-version: 1.4.1
- run: bun install --frozen-lockfile --ignore-scripts
- name: Format integration sources on GitHub
run: git diff --name-only -z HEAD~2 HEAD~1 -- '*.ts' '*.tsx' '*.json' | xargs -0 bunx biome check --write --linter-enabled=false
- name: Export formatting patch
run: git diff --binary > /tmp/oci-resource-manager-format.patch
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: oci-resource-manager-format
path: /tmp/oci-resource-manager-format.patch
retention-days: 1