Skip to content

Update artifact upload action #240

Update artifact upload action

Update artifact upload action #240

Workflow file for this run

name: Bazel
on:
push:
branches: [main]
pull_request:
branches: ['*']
jobs:
MacOS:
strategy:
matrix:
xcode_version: ['15.2', '15.3']
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode_version }}
- run: bazelisk test //Tests:UnitTests --test_env=PROJECT_ROOT=$(bazelisk info workspace)
- run: bazelisk build sourcekitten
Linux:
strategy:
matrix:
tag: ['5.8-focal', '5.9-focal', '5.10-focal']
runs-on: ubuntu-latest
container:
image: swift:${{ matrix.tag }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '^1.13.1' # The Go version to download (if necessary) and use.
- name: Setup Bazel
run: go install github.com/bazelbuild/bazelisk@latest
- name: Build SourceKitten
run: bazelisk build sourcekitten