Skip to content

Vendored Openssl

Vendored Openssl #237

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
shell: bash
run: rustup default stable
- name: Rustfmt
shell: bash
run: cargo fmt -- --check
- name: Clippy
shell: bash
run: cargo clippy
build:
needs: checks
timeout-minutes: 15
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
rust_version: [stable, "1.66.0"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
run: rustup default ${{ matrix.rust_version }}
- name: Build
run: cargo build --locked --verbose
- name: Run tests
run: cargo test --locked --verbose
end-to-end-tests-ubuntu:
runs-on: ${{ ubuntu-latest }}

Check failure on line 53 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 53, Col: 14): Unrecognized named-value: 'ubuntu-latest'. Located at position 1 within expression: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
- name: End-to-end tests ubuntu
shell: bash
run: |
cargo install --path .
foreman --version
PATH=$PATH:~/.foreman/bin
./scripts/end-to-end-tests.sh
end-to-end-tests-windows:
runs-on: windows-latest
needs: build
steps:
- uses: actions/checkout@v2
- name: End-to-end tests windows
shell: pwsh
run: |
cargo install --path .
foreman --version
$env:Path += '%USERPROFILE%/.foreman/bin'
bash end-to-end-tests.sh
kill-process-test-unix:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
- name: kill-process-test-unix
shell: bash
run: |
cargo install --path .
foreman --version
PATH=$PATH:~/.foreman/bin
./scripts/kill-process-test-unix.sh
kill-process-test-windows:
runs-on: windows-latest
needs: build
steps:
- uses: actions/checkout@v2
- name: kill-process-test-windows
shell: pwsh
run: |
cargo install --path .
foreman --version
$env:Path += '%USERPROFILE%/.foreman/bin'
.\scripts\kill-process-test-windows.ps1