Skip to content

Prefer action.platform over command.platform in one more place (#8040) #7904

Prefer action.platform over command.platform in one more place (#8040)

Prefer action.platform over command.platform in one more place (#8040) #7904

Workflow file for this run

name: CI
on:
push:
branches:
- master
paths-ignore:
- "docs/**"
- "website/**"
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Mount Bazel cache
uses: actions/cache@v1
with:
path: "/home/runner/repo-cache/"
key: repo-cache
- name: Build
run: |
bazelisk build \
--config=ci \
--remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_ORG_API_KEY }} \
//...
- name: Test
run: |
bazelisk test \
--config=ci \
--remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_ORG_API_KEY }} \
//...
- name: Slack
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: all
env:
GITHUB_TOKEN: ${{ secrets.BUILDBUDDY_GITHUB_USER_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CI_WEBHOOK_URL }}
if: always()