mirror of
https://github.com/hectorm/hblock.git
synced 2026-04-22 23:16:36 +05:30
Use "actions/checkout@v3"
This commit is contained in:
parent
2e983ff7f0
commit
fdc32e811f
1 changed files with 40 additions and 40 deletions
80
.github/workflows/ci.yml
vendored
80
.github/workflows/ci.yml
vendored
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
- name: 'Print ShellCheck version'
|
||||
run: 'shellcheck --version'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Lint project'
|
||||
run: 'make lint'
|
||||
|
||||
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'apt-get install -y ca-certificates curl file idn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all'
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'apt-get install -y ca-certificates curl file idn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all'
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'dnf install -y ca-certificates curl findutils file idn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all'
|
||||
|
||||
|
|
@ -83,7 +83,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'dnf install -y ca-certificates curl findutils file idn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all'
|
||||
|
||||
|
|
@ -97,7 +97,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'zypper install -y ca-certificates curl file gzip libidn2-tools make tar'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all'
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'pacman -Syu --noconfirm --needed ca-certificates curl file libidn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all'
|
||||
|
||||
|
|
@ -131,7 +131,7 @@ jobs:
|
|||
- name: 'Set default awk implementation'
|
||||
run: 'ln -sf "$(command -v nawk)" /usr/bin/awk'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all'
|
||||
|
||||
|
|
@ -145,7 +145,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'apk add --no-cache ca-certificates curl file libidn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all'
|
||||
|
||||
|
|
@ -163,7 +163,7 @@ jobs:
|
|||
- name: 'Print bash version'
|
||||
run: 'apk info --no-cache bash'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all TEST_SHELL="$(command -v bash)"'
|
||||
|
||||
|
|
@ -181,7 +181,7 @@ jobs:
|
|||
- name: 'Print zsh version'
|
||||
run: 'apk info --no-cache zsh'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all TEST_SHELL="$(command -v zsh)"'
|
||||
|
||||
|
|
@ -199,7 +199,7 @@ jobs:
|
|||
- name: 'Print dash version'
|
||||
run: 'apk info --no-cache dash'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all TEST_SHELL="$(command -v dash)"'
|
||||
|
||||
|
|
@ -217,7 +217,7 @@ jobs:
|
|||
- name: 'Print mksh version'
|
||||
run: 'apk info --no-cache mksh'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all TEST_SHELL="$(command -v mksh)"'
|
||||
|
||||
|
|
@ -235,7 +235,7 @@ jobs:
|
|||
- name: 'Print oksh version'
|
||||
run: 'apk info --no-cache oksh'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all TEST_SHELL="$(command -v oksh)"'
|
||||
|
||||
|
|
@ -253,7 +253,7 @@ jobs:
|
|||
- name: 'Print yash version'
|
||||
run: 'apk info --no-cache yash'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all TEST_SHELL="$(command -v yash)"'
|
||||
|
||||
|
|
@ -271,7 +271,7 @@ jobs:
|
|||
- name: 'Print BusyBox version'
|
||||
run: 'apk info --no-cache busybox'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all TEST_SHELL="$(command -v busybox) ash"'
|
||||
|
||||
|
|
@ -291,7 +291,7 @@ jobs:
|
|||
- name: 'Set default awk implementation'
|
||||
run: 'ln -sf "$(command -v gawk)" /usr/bin/awk'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all'
|
||||
|
||||
|
|
@ -311,7 +311,7 @@ jobs:
|
|||
- name: 'Set default awk implementation'
|
||||
run: 'ln -sf "$(command -v mawk)" /usr/bin/awk'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all'
|
||||
|
||||
|
|
@ -331,7 +331,7 @@ jobs:
|
|||
- name: 'Set default awk implementation'
|
||||
run: 'ln -sf "$(command -v busybox)" /usr/bin/awk'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all'
|
||||
|
||||
|
|
@ -349,7 +349,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'opkg install ca-certificates curl file idn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Build project'
|
||||
run: 'make test-all'
|
||||
|
||||
|
|
@ -371,7 +371,7 @@ jobs:
|
|||
- name: 'Print BusyBox version'
|
||||
run: 'opkg info busybox'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Build project'
|
||||
run: 'make test-all TEST_SHELL="$(command -v busybox) ash"'
|
||||
|
||||
|
|
@ -384,7 +384,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'brew install curl libidn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all'
|
||||
|
||||
|
|
@ -397,7 +397,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'brew install curl libidn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all TEST_SHELL="$(command -v bash)"'
|
||||
|
||||
|
|
@ -410,7 +410,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'brew install curl libidn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all TEST_SHELL="$(command -v zsh)"'
|
||||
|
||||
|
|
@ -423,7 +423,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'brew install curl libidn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Test project'
|
||||
run: 'make test-all TEST_SHELL="$(command -v dash)"'
|
||||
|
||||
|
|
@ -439,7 +439,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'vmshell pkgman install -y ca_root_certificates curl file libidn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Copy project to VM'
|
||||
run: 'vmshell mkdir ./hblock/; tar -cf - ./ | vmshell tar -xf - -C ./hblock/'
|
||||
- name: 'Test project'
|
||||
|
|
@ -457,7 +457,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'apt-get install -y ca-certificates curl file idn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Build project'
|
||||
run: 'make hosts stats index'
|
||||
|
||||
|
|
@ -473,7 +473,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'apt-get install -y ca-certificates curl file idn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Build project'
|
||||
run: 'make hosts stats index'
|
||||
|
||||
|
|
@ -487,7 +487,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'dnf install -y ca-certificates curl findutils file idn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Build project'
|
||||
run: 'make hosts stats index'
|
||||
|
||||
|
|
@ -501,7 +501,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'dnf install -y ca-certificates curl findutils file idn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Build project'
|
||||
run: 'make hosts stats index'
|
||||
|
||||
|
|
@ -515,7 +515,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'zypper install -y ca-certificates curl file gzip libidn2-tools make tar'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Build project'
|
||||
run: 'make hosts stats index'
|
||||
|
||||
|
|
@ -530,7 +530,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'pacman -Syu --noconfirm --needed ca-certificates curl file libidn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Build project'
|
||||
run: 'make hosts stats index'
|
||||
|
||||
|
|
@ -554,7 +554,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'apk add --no-cache ca-certificates curl file libidn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Build project'
|
||||
run: 'make hosts stats index'
|
||||
|
||||
|
|
@ -573,7 +573,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'opkg install ca-certificates curl file idn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Build project'
|
||||
run: 'make hosts stats index'
|
||||
|
||||
|
|
@ -591,7 +591,7 @@ jobs:
|
|||
- name: 'Install packages'
|
||||
run: 'brew install curl libidn2 make'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Build project'
|
||||
run: 'make hosts stats index'
|
||||
|
||||
|
|
@ -611,7 +611,7 @@ jobs:
|
|||
- name: 'Install packages (2nd stage)'
|
||||
run: 'apt-get install -y build-essential debhelper dpkg-dev m4 rsync'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Package project'
|
||||
run: |
|
||||
make package-deb
|
||||
|
|
@ -634,7 +634,7 @@ jobs:
|
|||
- name: 'Install packages (2nd stage)'
|
||||
run: 'dnf install -y m4 rpm-build rpmdevtools rsync systemd'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Package project'
|
||||
run: |
|
||||
make package-rpm
|
||||
|
|
@ -655,7 +655,7 @@ jobs:
|
|||
- name: 'Install packages (2nd stage)'
|
||||
run: 'pacman -Syu --noconfirm --needed base-devel m4 rsync sudo'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Package project'
|
||||
run: |
|
||||
mkdir ./dist/; chown nobody ./dist/
|
||||
|
|
@ -682,7 +682,7 @@ jobs:
|
|||
printf "\n%s\n" "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||
sudo -u build abuild-keygen -a -i -n
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Package project'
|
||||
run: |
|
||||
mkdir ./dist/; chown build ./dist/
|
||||
|
|
@ -704,7 +704,7 @@ jobs:
|
|||
- name: 'Install packages (2nd stage)'
|
||||
run: 'apk add --no-cache m4 rsync'
|
||||
- name: 'Checkout project'
|
||||
uses: 'actions/checkout@main'
|
||||
uses: 'actions/checkout@v3'
|
||||
- name: 'Package project'
|
||||
run: |
|
||||
make package-npm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue