1
0
Fork 0
mirror of https://github.com/containers/youki synced 2024-05-10 17:46:15 +02:00
youki/.github/workflows/main.yml

38 lines
832 B
YAML
Raw Normal View History

2021-04-04 03:54:09 +02:00
on:
push:
2021-04-04 03:54:09 +02:00
branches:
- main
pull_request:
2021-04-04 03:54:09 +02:00
branches:
- main
jobs:
2021-04-29 10:34:23 +02:00
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
2021-04-29 10:34:23 +02:00
- name: Build
run: cargo build
- name: Run tests
run: cargo test
integration_tests:
2021-04-04 03:54:09 +02:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
2021-04-04 03:54:09 +02:00
- uses: actions/setup-go@v2
with:
go-version: "1.11.0"
2021-04-29 10:34:23 +02:00
- name: Run intetgration tests
run: ./integration_test.sh