rebuild-known_hosts_github: move to tools/ #6
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 | |
| if: github.ref != 'refs/heads/release' | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v4 | |
| - uses: shogo82148/actions-setup-perl@v1 | |
| with: | |
| perl-version: "5.40" | |
| - name: Force install of Net::SSLeay | |
| run: cpanm --force Net::SSLeay | |
| - 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-release: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| if: github.ref == 'refs/heads/release' | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v4 | |
| - name: perl -c | |
| run: perl -c ./github-keygen | |
| test-ssh: | |
| runs-on: ubuntu-latest | |
| if: github.ref != 'refs/heads/release' | |
| 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' |