Merge pull request #5 from adrianreber/2024-04-29-alma #10
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: ci | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Run cargo build and cargo clippy | |
runs-on: ubuntu-latest | |
container: | |
image: docker.io/library/almalinux:9 | |
steps: | |
- name: Install tools | |
run: dnf -y install git cargo clippy openssl-devel | |
- name: Extend $PATH | |
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: cargo build --verbose | |
- name: Run clippy | |
run: cargo clippy --verbose |