Skip to content

Commit

Permalink
Set LC_ALL env var to prevent sbt/sbt-assembly#496
Browse files Browse the repository at this point in the history
  • Loading branch information
Akirathan committed Nov 13, 2023
1 parent c1115ba commit fe74103
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/scala-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
AWS_REGION: ${{ secrets.ENSO_LIB_S3_AWS_REGION }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.ENSO_LIB_S3_AWS_SECRET_ACCESS_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LC_ALL: C.UTF-8
- if: success() || failure()
name: Engine Test Reporter
uses: dorny/test-reporter@v1
Expand Down Expand Up @@ -149,6 +150,7 @@ jobs:
AWS_REGION: ${{ secrets.ENSO_LIB_S3_AWS_REGION }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.ENSO_LIB_S3_AWS_SECRET_ACCESS_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LC_ALL: C.UTF-8
- if: success() || failure()
name: Engine Test Reporter
uses: dorny/test-reporter@v1
Expand Down Expand Up @@ -230,6 +232,7 @@ jobs:
AWS_REGION: ${{ secrets.ENSO_LIB_S3_AWS_REGION }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.ENSO_LIB_S3_AWS_SECRET_ACCESS_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LC_ALL: C.UTF-8
- if: success() || failure()
name: Engine Test Reporter
uses: dorny/test-reporter@v1
Expand Down
4 changes: 3 additions & 1 deletion build/build/src/ci_gen/job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,9 @@ impl JobArchetype for CiCheckBackend {
.with_secret_exposed_as(
secret::ENSO_LIB_S3_AWS_SECRET_ACCESS_KEY,
crate::aws::env::AWS_SECRET_ACCESS_KEY,
);
)
// This prevents https:/sbt/sbt-assembly/issues/496
.with_env("LC_ALL", "C.UTF-8");
vec![main_step, step::engine_test_reporter(os), step::stdlib_test_reporter(os)]
})
.with_permission(Permission::Checks, Access::Write)
Expand Down
1 change: 0 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// sbt/sbt-assembly#496
addSbtPlugin("com.sandinh" % "sbt-java-module-info" % "0.4.0")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.1.3")
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.5.6")
Expand Down

0 comments on commit fe74103

Please sign in to comment.