-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR requires all files to be formatted with the google YAML formatter before submitting. This can be done with the following commands: go install github.com/google/yamlfmt/cmd/[email protected] yamlfmt . This will enforce a standard style that should remove any issues with formatting of PRs.
- Loading branch information
1 parent
fc7e8fa
commit 95bf2c2
Showing
65 changed files
with
2,677 additions
and
2,776 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Validate PR - YAML Format | ||
on: | ||
pull_request: | ||
branches: [main] | ||
jobs: | ||
go: | ||
name: Check Buildah Remote | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
- name: Generate buildah remote | ||
run: | | ||
./hack/generate-buildah-remote.sh | ||
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5 | ||
- name: Format YAML | ||
run: | | ||
go install github.com/google/yamlfmt/cmd/[email protected] | ||
yamlfmt . | ||
- name: Check YAML Formatted | ||
run: | | ||
if [[ ! -z $(git status -s) ]] | ||
then | ||
echo "YAML format is not up to date, run 'go install github.com/google/yamlfmt/cmd/[email protected] && yamlfmt .'" | ||
echo " If you have modified the buildah task you may also need to run ./hack/generate-buildah-remote.sh" | ||
git --no-pager diff | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,21 @@ | ||
--- | ||
name: Shellspec Tests | ||
|
||
"on": | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
Shellspec: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: jerop/[email protected] | ||
with: | ||
version: v0.32.2 | ||
|
||
- name: Shellspec | ||
run: hack/test-shellspec.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.