alpine #339
Workflow file for this run
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: Tests and release | |
on: [push, pull_request] | |
env: | |
CRATE_NAME: ubi | |
GITHUB_TOKEN: ${{ github.token }} | |
RUST_BACKTRACE: 1 | |
jobs: | |
test-alpine: | |
name: Alpine Linux | |
runs-on: ubuntu-20.04 | |
container: | |
image: rust:alpine | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
volumes: | |
- "${{ github.workspace }}:/workspace" | |
options: "--workdir /workspace" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install packages on Alpine | |
shell: sh | |
run: | | |
apk update | |
# file is used in an integration test | |
apk add file musl-dev zstd-dev | |
- name: Run tests | |
shell: sh | |
run: cargo test --locked |