name: compile nano on: push: branches: - main jobs: compile-nano: runs-on: archlinux-latest container: image: archlinux:latest steps: - name: install packages and prepare source run: | pacman -Sy wget base-devel --noconfirm wget https://www.nano-editor.org/dist/v8/nano-8.6.tar.xz tar -xvf nano-8.6.tar.xz - name: compile nano run: | cd nano-8.6 ./configure --prefix=/usr \ --sysconfdir=/etc \ --enable-utf8 make -j$(nproc) make install - name: run nano run: nano