feat(packages): update packages #503
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: Installation Test (via Docker) | |
on: push | |
# Available runners | |
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources | |
jobs: | |
local: | |
name: Installation on ${{ matrix.os }} [${{ matrix.flag }}] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
os: ['debian:bullseye-slim', 'ubuntu:rolling'] | |
flag: [-v, '', -q] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Installation Info | |
env: | |
IMAGE: ${{ matrix.os }} | |
REPO_NAME: spywhere/dotfiles | |
run: | | |
docker run -v $(pwd):/root/dots -e REPO_NAME=$REPO_NAME $IMAGE sh -c "apt update && apt install -y curl && sh /root/dots/install.sh -i" | |
- name: Perform Installation | |
env: | |
IMAGE: ${{ matrix.os }} | |
FLAG: ${{ matrix.flag }} | |
FLAGS: ${{ vars.FLAGS }} | |
REPO_NAME: spywhere/dotfiles | |
run: | | |
docker run -v $(pwd):/root/dots -e REPO_NAME=$REPO_NAME $IMAGE sh -c "apt update && apt install -y curl && sh /root/dots/install.sh -y $FLAG $FLAGS" |