add actions for .sf #2
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: Yak Analysis Workflow | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
yak-analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Download yak binary | |
run: | | |
wget -O yak https://aliyun-oss.yaklang.com/yak/1.3.4-alpha9/yak_linux_amd64 | |
chmod +x yak | |
- name: Execute test script | |
run: | | |
chmod +x scripts/test.sh | |
./scripts/test.sh | |
shell: bash |