Skip to content

alpine

alpine #339

Workflow file for this run

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