mirror of
https://github.com/saltstack/salt.git
synced 2025-04-15 17:20:19 +00:00
Start using actionlint
on GH Actions workflows
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
9b0072e9ce
commit
9de4d68767
4 changed files with 13 additions and 5 deletions
7
.github/actionlint.yaml
vendored
Normal file
7
.github/actionlint.yaml
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
self-hosted-runner:
|
||||
# Labels of self-hosted runner in array of string
|
||||
labels:
|
||||
- bastion
|
||||
- x86_64
|
||||
- arm64
|
||||
- aarch64
|
4
.github/workflows/build-deb-packages.yml
vendored
4
.github/workflows/build-deb-packages.yml
vendored
|
@ -43,10 +43,6 @@ jobs:
|
|||
apt update
|
||||
apt install -y python3 python3-venv python3-pip build-essential devscripts debhelper bash-completion git
|
||||
|
||||
- name: List CWD
|
||||
run: |
|
||||
ls -la $(cwd)
|
||||
|
||||
- name: Download Release Changes
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
|
|
2
.github/workflows/build-rpm-packages.yml
vendored
2
.github/workflows/build-rpm-packages.yml
vendored
|
@ -61,7 +61,7 @@ jobs:
|
|||
SALT_ONEDIR_ARCHIVE: "${{ github.workspace }}/artifacts/salt-${{ inputs.salt-version }}-onedir-linux-${{ matrix.arch }}.tar.xz"
|
||||
run: |
|
||||
echo "${{ inputs.salt-version }}" > salt/_version.txt
|
||||
rpmbuild -bb --define="_salt_src $(pwd)" $(pwd)/pkg/rpm/salt.spec
|
||||
rpmbuild -bb --define="_salt_src $(pwd)" "$(pwd)/pkg/rpm/salt.spec"
|
||||
|
||||
- name: Upload RPMs
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
|
@ -3,6 +3,11 @@ default_language_version:
|
|||
|
||||
exclude: ^(doc/_static/.*|doc/_themes/.*)$
|
||||
repos:
|
||||
- repo: https://github.com/rhysd/actionlint
|
||||
rev: v1.6.23
|
||||
hooks:
|
||||
- id: actionlint
|
||||
|
||||
- repo: https://github.com/saltstack/pip-tools-compile-impersonate
|
||||
rev: "4.6"
|
||||
hooks:
|
||||
|
|
Loading…
Add table
Reference in a new issue