Skip to content

Adds job to test curren pull request code against charts active branches #230

Adds job to test curren pull request code against charts active branches

Adds job to test curren pull request code against charts active branches #230

Workflow file for this run

name: CI-pullrequest
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container:
image: rancher/dapper:v0.5.4
steps:
- uses: actions/checkout@v1
- name: Run CI
run: dapper ci
build-and-validate:
runs-on: ubuntu-latest
steps:
- name: Checkout Pull-Request
run: gh pr checkout ${{ github.event.pull_request.number }}
- name: Build binaries
env:
CROSS: false
run: |
cd charts-build-scripts
make build
- name: Print tree
run: tree
- name: Checkout charts Repo
uses: actions/checkout@v3
with:
repository: rancher/charts
ref: dev-v2.9
path: charts
- name: Run Validation
run: |
cd charts
../bin/charts-build-scripts validate