diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..ac52d32 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,21 @@ +name: ci + +on: + push: + branch: + - master + pull_request: + +jobs: + build_test: + name: build_test + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: build + run: make build + - name: test + run: make test diff --git a/.github/workflows/cicd.yaml b/.github/workflows/release.yaml similarity index 92% rename from .github/workflows/cicd.yaml rename to .github/workflows/release.yaml index 98551f5..44923c6 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/release.yaml @@ -1,11 +1,13 @@ +name: release + on: push: - branch: - - master + tags: + - '*' jobs: - build: - name: cicd + build_release: + name: build_release runs-on: ubuntu-latest steps: - name: checkout