fix(type system): Fix function closures not correctly updating TypeState
#20
Workflow file for this run
This file contains hidden or 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: Vector Integration Check | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
check-vector: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout VRL | |
uses: actions/checkout@v4 | |
with: | |
path: vrl | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install protoc | |
uses: arduino/setup-protoc@v3 | |
- name: Install system packages | |
run: | | |
sudo apt-get update | |
sudo apt-get install --yes --no-install-recommends \ | |
build-essential \ | |
cmake \ | |
libclang-dev \ | |
libsasl2-dev \ | |
libssl-dev \ | |
llvm \ | |
pkg-config | |
- name: Clone Vector repo and update VRL dependency | |
run: | | |
git clone https://github.com/vectordotdev/vector.git | |
cd vector | |
git switch master | |
VRL_GITHUB_REPO="${{ github.event.pull_request.head.repo.full_name }}" | |
VRL_GITHUB_BRANCH="${{ github.head_ref }}" | |
sed -i.bak "s|git = \".*\"|git = \"https://github.com/${VRL_GITHUB_REPO}.git\"|; s|branch = \".*\"|branch = \"${VRL_GITHUB_BRANCH}\"|" Cargo.toml | |
cargo update -p vrl | |
- name: Cargo Check Vector | |
run: | | |
cd vector | |
cargo update -p vrl | |
cargo check --workspace |