File tree Expand file tree Collapse file tree 8 files changed +17
-15
lines changed
sbt-test/basic/ignore-scala-libraries Expand file tree Collapse file tree 8 files changed +17
-15
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
- on : [push, pull_request]
2
+ on :
3
+ push :
4
+ branches : [main]
5
+ pull_request :
3
6
4
7
jobs :
5
8
build :
6
9
strategy :
7
10
fail-fast : false
8
11
matrix :
9
12
include :
10
- - sbt_version : 1.2.8
11
- test_groups : ' basic/*'
12
13
- sbt_version : 1.3.13
13
- test_groups : ' basic/* 1.3+/*'
14
14
- sbt_version : 1.4.0
15
- test_groups : ' basic/* 1.3+/* '
15
+ - sbt_version : 1.8.3
16
16
17
17
runs-on : ubuntu-latest
18
18
steps :
19
- - uses : actions/checkout@v2
20
- - uses : olafurpg/setup-scala@v10
21
- - uses : coursier/cache-action@v3
19
+ - uses : actions/checkout@v3
20
+ - uses : actions/setup-java@v3
21
+ with :
22
+ distribution : adopt
23
+ java-version : 17
22
24
- name : Test
23
- run : sbt -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M "^^${{ matrix.sbt_version }}" "scripted ${{ matrix.test_groups }} "
25
+ run : sbt -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M "^^${{ matrix.sbt_version }}" "scripted basic/* "
Original file line number Diff line number Diff line change @@ -2,17 +2,17 @@ import ReleaseTransformations._
2
2
3
3
enablePlugins(SbtPlugin )
4
4
5
- val latestSbt_1_2_x_version = " 1.2.8"
6
5
val latestSbt_1_3_x_version = " 1.3.13"
7
6
val latestSbt_1_4_x_version = " 1.4.0"
7
+ val latestSbt_1_8_x_version = " 1.8.3"
8
8
9
9
crossSbtVersions := Seq (
10
- latestSbt_1_2_x_version,
11
10
latestSbt_1_3_x_version,
12
- latestSbt_1_4_x_version
11
+ latestSbt_1_4_x_version,
12
+ latestSbt_1_8_x_version
13
13
)
14
14
15
- scalaVersion := " 2.12.11 "
15
+ scalaVersion := " 2.12.17 "
16
16
organization := " com.github.cb372"
17
17
description := " An sbt plugin to check that your project does not directly depend on any transitive dependencies for compilation"
18
18
homepage := Some (url(" https://github.com/cb372/sbt-explicit-dependencies" ))
Original file line number Diff line number Diff line change 1
- sbt.version =1.3.13
1
+ sbt.version =1.8.3
Original file line number Diff line number Diff line change 1
1
package explicitdeps
2
2
3
3
import sbt .Keys ._
4
- import sbt ._
4
+ import sbt .{ ScalaVersion => _ , _ }
5
5
6
6
object ExplicitDepsPlugin extends AutoPlugin {
7
7
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments