init commit

This commit is contained in:
Jacob Payne
2023-03-20 09:28:45 -07:00
commit ce291e1a98
14 changed files with 692 additions and 0 deletions

22
.github/workflows/ci.yaml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: CI
on:
push:
branches:
- main
pull_request: true
env:
FORCE_COLOR: 1
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: earthly/actions-setup@v1
with:
version: v0.7.*
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: lint
run: earthly --ci +lint
- name: unittest
run: earthly --ci +test

21
.github/workflows/release.yaml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Release
on:
push:
tags:
- v*
env:
FORCE_COLOR: 1
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: earthly/actions-setup@v1
with:
version: v0.7.*
- name: docker login
run: docker login --username $FOO --password $FOO
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: lint
run: earthly --ci --push +image