Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Eckel committed Jul 22, 2024
2 parents 7351731 + f730453 commit fe17ece
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-examples.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs {
uses = "actions/checkout@v4"
with {
["submodules"] = "recursive"
["token"] = "${{ secrets.API_TOKEN_GITHUB }}"
//["token"] = "${{ secrets.API_TOKEN_GITHUB }}"
}
}

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.API_TOKEN_GITHUB }}
- uses: actions/setup-java@v4
with:
distribution: temurin
Expand All @@ -25,7 +24,6 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.API_TOKEN_GITHUB }}
- uses: actions/setup-java@v4
with:
distribution: temurin
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/test.pkl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// pkl eval --format yaml -o test.yml test.pkl

amends "package://pkg.pkl-lang.org/github.com/jamesward/pklgha/[email protected]#/GitHubAction.pkl"
import "package://pkg.pkl-lang.org/github.com/jamesward/pklgha/[email protected]#/GitHubAction.pkl"

on {
pull_request {

}
}

jobs {
["test"] = new {
`runs-on` = "ubuntu-latest"

steps = GitHubAction.Scala.sbtTestSteps(null, null, null)
}
}
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Generated file. DO NOT EDIT.
'on':
pull_request: {}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '20'
cache: sbt
- run: sbt test
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ libraryDependencies ++=
"metaconfig-typesafe-config"
) excludeAll
("com.geirsson", "metaconfig-core"),
"nl.vroste" %% "rezilience" % "0.9.4",
"nl.vroste" %% "rezilience" % "0.10.1",
"org.scalameta" %% "mdoc" % "2.5.4",
"dev.zio" %% "zio-test" % zioVersion,
"dev.zio" %% "zio-test-sbt" % zioVersion % Test,
"com.lihaoyi" %% "os-lib" % "0.10.2" % Test,
"com.lihaoyi" %% "os-lib" % "0.10.3" % Test,
)

fork := true
Expand Down

0 comments on commit fe17ece

Please sign in to comment.