Open .swiftinterface files in Swift mode #63
Workflow file for this run
This file contains 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: Run Tests | |
on: | |
push: | |
branches: [ main, master ] | |
pull_request: | |
branches: [ main, master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
continue-on-error: ${{matrix.version == 'snapshot'}} | |
strategy: | |
matrix: | |
# '25.1' fails for some reason even though `make lint_in_docker` succeeds. | |
# swift-mode-beginning-of-defun.el:1081: All variables and subroutines might as well have a documentation string | |
# swift-mode-beginning-of-defun.el:1135: All variables and subroutines might as well have a documentation string | |
version: ['24.4', '24.5', '25.2', '25.3', '26.1', '26.2', '26.3', '27.1', '27.2', '28.1', 'snapshot'] | |
env: | |
ELDEV_DIR: .eldev | |
ELDEV: .eldev/bin/eldev | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: purcell/setup-emacs@master | |
with: | |
version: ${{ matrix.version }} | |
- name: Install Eldev | |
run: | | |
mkdir -p $ELDEV_DIR/bin | |
curl -fsSL https://raw.github.com/doublep/eldev/master/bin/eldev > $ELDEV_DIR/bin/eldev | |
chmod a+x $ELDEV_DIR/bin/eldev | |
- name: Run linters | |
run: find ./*.el test/*.el '!' -name '*autoloads.el' -exec ${ELDEV} lint '{}' '+' | |
- name: Run tests | |
run: ./scripts/run_test.sh |