v0.1.2 release #101
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: Apex tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: denolib/setup-deno@v2 | |
- name: Add SSH key | |
env: | |
TEST_SSH_KEY: ${{ secrets.TEST_SSH_KEY }} | |
run: | | |
mkdir -p ~/.ssh | |
ssh-keyscan github.com >> ~/.ssh/known_hosts | |
echo "$TEST_SSH_KEY" > ~/.ssh/github_actions.key | |
chmod 600 ~/.ssh/github_actions.key | |
ls -alF ~/.ssh | |
- name: Run tests | |
env: | |
GIT_SSH_COMMAND: ssh -i ~/.ssh/github_actions.key | |
run: ./apex test |