Skip to content

Commit e5ecd18

Browse files
committed
CI: add GitHub actions; remove obsolete Travis
1 parent d495bf4 commit e5ecd18

2 files changed

Lines changed: 31 additions & 38 deletions

File tree

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test
2+
on: [push]
3+
4+
jobs:
5+
test:
6+
name: Test
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Check out
10+
uses: actions/checkout@v4
11+
12+
- uses: shogo82148/actions-setup-perl@v1
13+
with:
14+
perl-version: "5.40"
15+
- name: Install dependencies
16+
run: cpanm --installdeps --with-develop .
17+
- name: perl -c
18+
run: perl -c bin/github-keygen
19+
- name: Simulate release
20+
run: ./release.pl -n
21+
22+
test-ssh:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- run: ssh -V
26+
- name: Show GitHub public keys
27+
run: |
28+
ssh-keyscan -t ed25519 github.com gist.github.com 2>/dev/null
29+
ssh-keyscan -t ed25519 -p 443 ssh.github.com 2>/dev/null
30+
- name: Show GitHub kex algorithms
31+
run: ssh -vvv github.com 2>&1 | grep -A1 'server KEXINIT'

.travis.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)