File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # #########################################
2+ # Workflow to build and test crabber
3+ # #########################################
4+
5+ name : CI
6+
7+ on :
8+ # Triggers the workflow on push or pull request events but only for the main branch
9+ push :
10+ branches : main
11+ pull_request :
12+ branches : main
13+ schedule :
14+ - cron : 0 0 * * * # run every day at UTC 00:00
15+
16+ jobs :
17+ # This workflow contains a single job called "test"
18+ test :
19+ # The type of runner that the job will run on
20+ runs-on : ubuntu-latest
21+
22+ # Steps represent a sequence of tasks that will be executed as part of the job
23+ steps :
24+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
25+ - name : Check out Repo
26+ uses : actions/checkout@v2
27+ with :
28+ ref : main # only checkout main
29+ - name : Build crabber + run tests
30+ run : docker build -t crabber -f docker/crabber.Dockerfile .
You can’t perform that action at this time.
0 commit comments