ci: bump checkout to v4 #522
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: alpine | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
container: alpine:latest | |
strategy: | |
fail-fast: false | |
matrix: | |
cc: [ gcc, clang ] | |
steps: | |
- name: dependencies | |
run: | | |
apk -q update | |
apk add autoconf automake bash build-base clang clang-analyzer git \ | |
libfido2-dev libtool linux-pam-dev openssl-dev pkgconfig | |
- name: checkout pam-u2f | |
uses: actions/checkout@v4 | |
- name: mark workspace as safe | |
run: git config --global --add safe.directory "${GITHUB_WORKSPACE}" | |
- name: build | |
env: | |
CC: ${{ matrix.cc }} | |
run: | | |
./build-aux/ci/build-linux-${CC%-*}.sh |