Skip to content

Commit c080bf1

Browse files
author
Akash Satheesan
committed
chore(ci): locally include patched nfpm script
1 parent cec71eb commit c080bf1

File tree

3 files changed

+391
-2
lines changed

3 files changed

+391
-2
lines changed

.github/workflows/ci.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ jobs:
134134
strategy:
135135
matrix:
136136
os: [ubuntu-16.04, ubuntu-arm64-latest, macos-latest]
137+
fail-fast: false
138+
137139
steps:
138140
- uses: actions/checkout@v2
139141

@@ -144,7 +146,7 @@ jobs:
144146

145147
- name: Install nfpm
146148
run: |
147-
curl -sfL https://install.goreleaser.com/github.com/goreleaser/nfpm.sh | sh -s -- -b ~/.local/bin v2.3.1
149+
./ci/steps/nfpm.sh -b ~/.local/bin v2.3.1
148150
echo "$HOME/.local/bin" >> $GITHUB_PATH
149151
150152
- name: Download npm package

ci/dev/lint.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ main() {
77
eslint --max-warnings=0 --fix $(git ls-files "*.ts" "*.tsx" "*.js" | grep -v "lib/vscode")
88
stylelint $(git ls-files "*.css" | grep -v "lib/vscode")
99
tsc --noEmit --skipLibCheck
10-
shellcheck -e SC2046,SC2164,SC2154,SC1091,SC1090,SC2002 $(git ls-files "*.sh" | grep -v "lib/vscode")
10+
# NOTE: remove the nfpm check once we get fix upstreamed
11+
shellcheck -e SC2046,SC2164,SC2154,SC1091,SC1090,SC2002 $(git ls-files "*.sh" | grep -v "lib/vscode" | grep -v "ci/steps/nfpm.sh")
1112
if command -v helm && helm kubeval --help >/dev/null; then
1213
helm kubeval ci/helm-chart
1314
fi

0 commit comments

Comments
 (0)