mirror of
https://github.com/monitoring-mixins/website.git
synced 2024-12-15 17:50:48 +00:00
move to github actions
This is to simplify credentials handling in daily regenerations
This commit is contained in:
parent
7fd2bee5a7
commit
6439aed397
2 changed files with 20 additions and 10 deletions
10
.drone.yml
10
.drone.yml
|
@ -1,10 +0,0 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
||||
steps:
|
||||
- name: regenerate
|
||||
image: golang:1.14
|
||||
commands:
|
||||
- apt update && apt install jq -y
|
||||
- make && git diff --exit-code
|
20
.github/workflows/tests.yaml
vendored
Normal file
20
.github/workflows/tests.yaml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
name: Pull request CI workflow
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
generate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '^1.14'
|
||||
- run: make generate
|
Loading…
Reference in a new issue