Bump the npm_and_yarn group across 1 directory with 7 updates #1044
Workflow file for this run
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
name: CI | |
on: | |
pull_request: | |
env: | |
GO_VERSION: 1.17 | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- shell: bash | |
run: | | |
sudo apt-get install libpcap-dev | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Verify spec aggregation and code generation | |
run: make api3-verify | |
- name: Check licenses | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: make license-check | |
- name: Run verification | |
run: make check | |
- name: Build Docker image | |
run: make docker | |
lint_chart: | |
name: Lint Helm Chart | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: "0" | |
submodules: true | |
- name: Replace version | |
id: replace_version | |
run: find . -type f -name "values.yaml" -o -name "Chart.yaml" | | |
xargs sed -i -e s/latest/v1.0.0-${{ github.sha }}/g | |
- name: Replace wasm filter commit id and sha256 | |
id: replace_wasm_filter_commit_id_for_kuma | |
run: | | |
WASM_COMMIT="$(git rev-parse HEAD:wasm-filters)" | |
WASM_SHA256="$(sha256sum wasm-filters/bin/release/http-trace-filter.wasm | cut -d' ' -f1)" | |
WASM_URI="https://raw.githubusercontent.com/openclarity/wasm-filters/${WASM_COMMIT}/bin/release/http-trace-filter.wasm" | |
sed -i -e "s/sha256:.*/sha256: \"${WASM_SHA256}\"/" plugins/kuma/charts/values.yaml | |
sed -i -e "s#wasmFilterURI:.*#wasmFilterURI: \"${WASM_URI}\"#" plugins/kuma/charts/values.yaml | |
- name: Set up Helm | |
uses: azure/[email protected] | |
with: | |
version: v3.10.3 | |
- uses: actions/[email protected] | |
with: | |
python-version: 3.7 | |
- name: Set up chart-testing | |
uses: helm/[email protected] | |
- name: Add Bitnami Repository | |
run: helm repo add bitnami https://charts.bitnami.com/bitnami | |
- name: Run chart-testing (lint) | |
run: ct lint --chart-dirs charts,plugins/kuma --check-version-increment=false --validate-maintainers=false |