chore: script
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -5,6 +5,10 @@ on:
|
|||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
permissions:
|
permissions:
|
||||||
@@ -25,6 +29,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: bazel-contrib/setup-bazel@0.15.0
|
- uses: bazel-contrib/setup-bazel@0.15.0
|
||||||
|
with:
|
||||||
|
bazelisk-cache: true
|
||||||
|
repository-cache: true
|
||||||
|
external-cache: true
|
||||||
|
disk-cache: ci-${{ matrix.phase8_target }}
|
||||||
|
cache-save: ${{ github.event_name != 'pull_request' }}
|
||||||
- name: Run tests (${{ matrix.phase8_target }})
|
- name: Run tests (${{ matrix.phase8_target }})
|
||||||
run: |
|
run: |
|
||||||
echo "Phase 8 target: ${{ matrix.phase8_target }}"
|
echo "Phase 8 target: ${{ matrix.phase8_target }}"
|
||||||
|
|||||||
10
.github/workflows/pages.yml
vendored
10
.github/workflows/pages.yml
vendored
@@ -3,6 +3,11 @@ name: Docs Pages
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
|
paths:
|
||||||
|
- "docs/**"
|
||||||
|
- "bun/**/*.bzl"
|
||||||
|
- "internal/**/*.bzl"
|
||||||
|
- ".github/workflows/pages.yml"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -26,6 +31,11 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: bazel-contrib/setup-bazel@0.15.0
|
- uses: bazel-contrib/setup-bazel@0.15.0
|
||||||
|
with:
|
||||||
|
bazelisk-cache: true
|
||||||
|
repository-cache: true
|
||||||
|
external-cache: true
|
||||||
|
disk-cache: docs-pages
|
||||||
|
|
||||||
- name: Generate rule docs
|
- name: Generate rule docs
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user