CI: add GitHub actions; remove obsolete Travis #1
This file contains hidden or 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: Test | |
| on: [push] | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v4 | |
| - uses: shogo82148/actions-setup-perl@v1 | |
| with: | |
| perl-version: "5.40" | |
| - name: Install dependencies | |
| run: cpanm --installdeps --with-develop . | |
| - name: perl -c | |
| run: perl -c bin/github-keygen | |
| - name: Simulate release | |
| run: ./release.pl -n | |
| test-ssh: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: ssh -V | |
| - name: Show GitHub public keys | |
| run: | | |
| ssh-keyscan -t ed25519 github.com gist.github.com 2>/dev/null | |
| ssh-keyscan -t ed25519 -p 443 ssh.github.com 2>/dev/null | |
| - name: Show GitHub kex algorithms | |
| run: ssh -vvv github.com 2>&1 | grep -A1 'server KEXINIT' |