Skip to content

Commit

Permalink
[feat] refactor CI
Browse files Browse the repository at this point in the history
Signed-off-by: Akis Maziotis <akis.maziotis@mattermost.com>
  • Loading branch information
phoinixgrr committed Oct 26, 2023
1 parent 749bdb8 commit 4e055a0
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 100 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/build.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and Test

on:
push:
branches:
- master
pull_request:
permissions:
contents: read

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Lint
run: make lint
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Test
run: make test
build:
name: Build
runs-on: ubuntu-latest
needs: [lint,test]
steps:
- name: Checkout code
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Build
run: make build
- name: Make Clean
run: make clean
25 changes: 0 additions & 25 deletions .github/workflows/golangci-lint.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit 4e055a0

Please sign in to comment.