Skip to content

Commit

Permalink
Updated pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
terminationshock committed Apr 27, 2024
1 parent b7df4ab commit ae9159f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Build and test
on: [push]
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19

- name: Build
run: make

- name: Unit tests
run: make unit-tests

- name: Integration tests
run: make integration-tests

- name: Publish release
uses: ncipollo/release-action@v1
with:
artifacts: lisst
makeLatest: true

0 comments on commit ae9159f

Please sign in to comment.