Merge pull request #1 from woodworker/build-fix #7
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: Rust CI | |
on: [push, pull_request] | |
jobs: | |
Container-Test-Job: | |
runs-on: ubuntu-latest | |
container: | |
image: rust:1-slim-buster | |
env: | |
EXAMPLE: foo | |
steps: | |
- uses: actions/checkout@main | |
- name: Apt Update | |
run: DEBIAN_FRONTEND=noninteractive apt-get update | |
- name: Install openssl-sys | |
run: DEBIAN_FRONTEND=noninteractive apt-get install pkg-config libssl-dev git -y | |
- name: Run cargo check | |
run: cargo check | |
- name: Run cargo test | |
run: cargo test |