Skip to content

Commit

Permalink
Set GitHub Actions encoding variables with env:.
Browse files Browse the repository at this point in the history
  • Loading branch information
xwmx committed Jul 16, 2024
1 parent e04cb36 commit cb3245e
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ jobs:
test-ubuntu-latest:
name: "Test: Ubuntu 20.04"
runs-on: ubuntu-20.04
env:
LANG: C.UTF-8
LC_ALL: C.UTF-8
LC_TYPE: C.UTF-8
steps:
- uses: actions/checkout@v1
- name: "Setup"
Expand Down Expand Up @@ -278,16 +282,6 @@ jobs:
echo "'$LANG'"
echo "'$LC_ALL'"
echo "'$LC_TYPE'"
- name: "Set encoding variables"
run: |
export LANG="C.UTF-8"
export LC_ALL="C.UTF-8"
export LC_TYPE="C.UTF-8"
- name: "Print encoding variables (again)"
run: |
echo "'$LANG'"
echo "'$LC_ALL'"
echo "'$LC_TYPE'"
- name: "Run bats tests"
run: script -q -e -c "bats test"
# - name: "Install Go"
Expand Down

0 comments on commit cb3245e

Please sign in to comment.