Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly set LANG for ubuntu #632

Merged
merged 4 commits into from
Jan 16, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Explicitly set LANG for ubuntu
Fixes #630
  • Loading branch information
froggleston authored Jan 16, 2025
commit 2c2ee2c0a12c6bb4cce7420bdb76e53f46436101
6 changes: 5 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -50,14 +50,18 @@ jobs:
R_KEEP_PKG_SOURCE: yes
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RENV_PATHS_ROOT: ${{ matrix.config.cache }}
LANG: "en_US.UTF-8"

steps:
- name: Record Linux Version
- name: Setup Linux Environment
if: runner.os == 'Linux'
run: |
echo "OS_VERSION=`lsb_release -sr`" >> $GITHUB_ENV
mkdir -p "${{ runner.temp }}/sandbox/"
echo "RENV_PATHS_SANDBOX=${{ runner.temp }}/sandbox/" >> $GITHUB_ENV
sudo locale-gen en_US.UTF-8
sudo update-locale LANG=en_US.UTF-8
shell: bash

- name: "Windows: prevent autocrlf"
if: runner.os == 'Windows'
Loading