Skip to content

dev-cron

dev-cron #79

Workflow file for this run

name: dev-cron
on:
schedule:
- cron: '0 0 * * *'
jobs:
build_test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
ref: dev
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Build Go-Metadium
run: make metadium
- name: Check Build
run: ls -al build/metadium.tar.gz
lint_test:
strategy:
fail-fast: false
matrix:
version: [1.17, 1.18, 1.19]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
ref: dev
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.version }}
- name: Check Lint
run: make lint
unit_test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
ref: dev
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Check golang Test Cases
run: |
unset ANDROID_HOME
make test