check #2116
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: 'check' | |
on: | |
push: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
mwe: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: '1.13.x' | |
- uses: actions/checkout@v2 | |
- run: | | |
cd tool | |
go build -o issue-runner | |
sudo mv issue-runner /usr/local/bin/issue-runner | |
sudo chmod +x /usr/local/bin/issue-runner | |
- run: | | |
yarn | |
yarn prod | |
mv dist/main.js ./ | |
ls -la | |
- name: Run on umarcor/issue-runner | |
run: node ./main.js umarcor issue-runner | |
- name: Run action locally | |
uses: ./ | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
allow-host: false | |
- name: Run on ghdl/ghdl | |
run: node ./main.js ghdl ghdl |