Skip to content

[CI] Add support for GitHub Actions #3

[CI] Add support for GitHub Actions

[CI] Add support for GitHub Actions #3

Workflow file for this run

name: pull_request
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
tests:
name: tests
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
with:
exclude_swift_versions: "[{\"swift_version\": \"5.8\"}]"
pre_build_command: "apt-get update -y -q && apt-get install -y -q openjdk-21-jdk"
env:

Check failure on line 14 in .github/workflows/pull_request.yml

View workflow run for this annotation

GitHub Actions / pull_request

Invalid workflow file

The workflow is not valid. .github/workflows/pull_request.yml (Line: 14, Col: 9): Unexpected value 'env'
JAVA_HOME: "/usr/lib/jvm/java-21-openjdk-amd64"