Test
This commit is contained in:
parent
a3c3eb4ea0
commit
336eefa3ee
@ -5,8 +5,10 @@ on: [push, pull_request]
|
||||
jobs:
|
||||
shasums:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: rusian/base-node
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run shasums script
|
||||
run: |
|
||||
cp -rv ./hyperterm/ "$HOME/.hyperterm/"
|
||||
@ -14,25 +16,26 @@ jobs:
|
||||
cp -v ./hyperterm/_custom.sh "$HOME"
|
||||
rm -rfv hyperterm/
|
||||
(cd "$HOME/.hyperterm/" && sha512sum -c hyperterm.sha512)
|
||||
(cd "$HOME" && bash -x .bashrc)
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: shasums
|
||||
container:
|
||||
image: rusian/base-node
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up locales
|
||||
run: |
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y locales less
|
||||
sudo sed -i 's/# \(es_ES.UTF-8 UTF-8\)/\1/' /etc/locale.gen
|
||||
sudo sed -i 's/# \(en_US.UTF-8 UTF-8\)/\1/' /etc/locale.gen
|
||||
sudo locale-gen es_ES.UTF-8
|
||||
export LANG=es_ES.UTF-8 LANGUAGE=es_ES
|
||||
pacman -Syu --noconfirm
|
||||
pacman -S --noconfirm glibc less
|
||||
echo "es_ES.UTF-8 UTF-8" | tee -a /etc/locale.gen
|
||||
echo "en_US.UTF-8 UTF-8" | tee -a /etc/locale.gen
|
||||
locale-gen
|
||||
export LANG=es_ES.UTF-8
|
||||
export LANGUAGE=es_ES
|
||||
|
||||
- name: Install dependencies for shellcheck
|
||||
run: sudo apt-get install -y xz-utils shellcheck
|
||||
run: pacman -S --noconfirm xz shellcheck
|
||||
|
||||
- name: Run shellcheck on bash profile
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user