diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6d0a99f..e978e51 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,6 +1,7 @@ +--- # * docs.yml --- Build the documentation and publish to Github Pages -name: "Docs" +name: Docs on: push: branches: @@ -9,23 +10,19 @@ on: jobs: build: runs-on: ubuntu-latest - strategy: - fail-fast: true steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - name: Install deps - run: | - sudo apt-get install texinfo + - name: Install deps + run: sudo apt install texinfo - - name: Build docs - continue-on-error: false - run: make html + - name: Build docs + run: make html - - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@releases/v3 - with: - ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} - BRANCH: gh-pages # The branch the action should deploy to. - FOLDER: doc # The folder the action should deploy. - CLEAN: true + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@releases/v4 + with: + token: ${{ secrets.ACCESS_TOKEN }} + branch: gh-pages # The branch the action should deploy to. + folder: doc + clean: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 52ecaaa..3850447 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,4 @@ -# * test.yml --- Test Emacs packages using makem.sh on GitHub Actions - -# https://github.com/alphapapa/makem.sh - +--- # Based on Steve Purcell's examples at # , # . @@ -23,7 +20,7 @@ # * Code: -name: "CI" +name: CI on: pull_request: push: @@ -47,10 +44,10 @@ jobs: with: version: ${{ matrix.emacs_version }} - - uses: actions/checkout@v2 - - name: Install Eldev - run: curl -fsSL https://raw.github.com/org-roam/org-roam/master/github-eldev | sh + uses: emacs-eldev/setup-eldev@v1 + + - uses: actions/checkout@v4 - name: Install dependencies run: make prepare @@ -60,6 +57,7 @@ jobs: - name: Test run: make test + # Local Variables: # eval: (outline-minor-mode) # End: diff --git a/github-eldev b/github-eldev deleted file mode 100755 index de9ff25..0000000 --- a/github-eldev +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/sh -set -e - -ELDEV_BIN_DIR=~/.local/bin - -# `$GITHUB_PATH' is a magic file which contents is translated to environment variable `$PATH'. -echo "$ELDEV_BIN_DIR" >> $GITHUB_PATH - -mkdir -p $ELDEV_BIN_DIR -curl -fsSL https://raw.githubusercontent.com/doublep/eldev/f111d19cda305e5e8fcb70a5675b87173041cb68/bin/eldev > $ELDEV_BIN_DIR/eldev -chmod a+x $ELDEV_BIN_DIR/eldev