fix: correct fis setup #5
This file contains hidden or 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: Test Dotfiles | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| distro: [ubuntu, arch] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Build and test on ${{ matrix.distro }} | |
| run: | | |
| docker build \ | |
| --file test/Dockerfile.${{ matrix.distro }} \ | |
| --tag dotfiles-test:${{ matrix.distro }} \ | |
| . | |
| docker run --rm dotfiles-test:${{ matrix.distro }} |