diff options
| -rw-r--r-- | .github/workflows/ci.yml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ed5e67..3c8d1f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,16 +10,17 @@ jobs: test_local: strategy: matrix: - os: [ubuntu-latest, macos-latest] - runs-on: '${{ matrix.os }}' - name: 'Test / ${{ matrix.os }}' + os: + - ubuntu-latest + - macos-latest + runs-on: ${{ matrix.os }} + name: Test / ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@v7 with: persist-credentials: false submodules: recursive - - name: Install dependencies run: | brew install bash coreutils findutils @@ -28,7 +29,6 @@ jobs: if: runner.os == 'macOS' # Is it even macOS anymore? It is for me. I really am too lazy to deal # with ancient utilities that come with the actual macOS. - - name: Test run: make test @@ -44,7 +44,7 @@ jobs: - noble - resolute runs-on: ubuntu-latest - name: 'Test / Docker / ${{ matrix.distro }}' + name: Test / Docker / ${{ matrix.distro }} steps: - name: Checkout uses: actions/checkout@v7 @@ -52,7 +52,8 @@ jobs: persist-credentials: false submodules: recursive - name: Test - run: make 'test/docker/${{ matrix.distro }}' + run: | + make 'test/docker/${{ matrix.distro }}' aur: name: Publish to AUR @@ -65,9 +66,6 @@ jobs: && !startsWith(github.ref, 'refs/tags/debian/') container: image: archlinux:base-devel - env: - SSH_KEY: | - ${{ secrets.SSH_KEY }} steps: # This step must be done before actions/checkout. From the latter's # output: @@ -83,7 +81,9 @@ jobs: persist-credentials: true ref: aur submodules: recursive - token: '${{ secrets.GH_TOKEN }}' + token: ${{ secrets.GH_TOKEN }} - name: Run maintenance + env: + SSH_KEY: ${{ secrets.SSH_KEY }} run: | make -C "$GITHUB_WORKSPACE" ci |
