vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit bd82e407d871f438b5afcaf095b38168506dde2d
parent c12900490e7fe72888278b786f14e0eaa9447724
Author: Randy Palamar <randy@rnpnr.xyz>
Date:   Sun, 21 Apr 2024 08:25:31 -0600

ci: fix macOS runner

Apparently Github changed the permissions on /usr/local in the
default image so now we need to use `sudo` for luarocks to be able
to install packages.

While I'm here: update the checkout dependency and use
macOS-latest image instead of multiple old images.

Diffstat:
M.github/workflows/macos.yml | 11++++-------
1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml @@ -4,25 +4,22 @@ on: [push, pull_request] jobs: build: + runs-on: macos-latest strategy: matrix: - os: - - macos-12 - - macos-11 # latest config: - "" - --disable-curses - --disable-lua - --disable-tre - --disable-help - runs-on: ${{ matrix.os }} env: CFLAGS_EXTRA: --coverage LDFLAGS_EXTRA: --coverage steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Dependency Homebrew run: | @@ -36,8 +33,8 @@ jobs: - name: Dependency LuaRocks run: | - luarocks install lpeg - luarocks install busted + sudo luarocks install lpeg + sudo luarocks install busted - name: Build run: |