Skip to content

Commit

Permalink
fixed, ignored shellcheck error, warning, and update github actions c…
Browse files Browse the repository at this point in the history
…heckout version to the v4
  • Loading branch information
jeonghanlee committed Aug 20, 2024
1 parent 8f221e8 commit 7eba06b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v2
with:
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
container: debian:bullseye
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install required packages
run: |
apt update -y
Expand All @@ -81,7 +81,7 @@ jobs:
container: rockylinux:8
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install required packages
run: |
dnf update -y
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/debian12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
container: debian:bookworm-slim
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install required packages
run: |
apt update -y
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Lint Code Base
uses: docker://github/super-linter:v4.8.1
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rocky9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
container: rockylinux/rockylinux:9
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install required packages
run: |
dnf install -y git make sudo bash wget unzip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
container: ubuntu:22.04
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install required packages
run: |
apt update -y
Expand Down
6 changes: 5 additions & 1 deletion scripts/install_apps.bash
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ function popd { builtin popd > /dev/null || exit; }
function rocky_dist
{
local VERSION_ID
# shellcheck disable=SC2002
# shellcheck disable=SC2046
# shellcheck disable=SC2022
eval $(cat /etc/os-release | grep -E "^(VERSION_ID)=")
# shellcheck disable=SC2086
echo ${VERSION_ID}
}

Expand Down Expand Up @@ -63,7 +67,7 @@ if [[ "${OS_NAME}" == "rocky" ]]; then
autoreconf -i -v -f || exit
else
printf "\n";
printf "Doesn't support %s\n" "$dist";
printf "Doesn't support %s\n" "$rocky_version";
printf "\n";
fi

Expand Down

0 comments on commit 7eba06b

Please sign in to comment.