Skip to content

Commit

Permalink
📦 workflow updates
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufcanb committed Mar 9, 2024
1 parent 7f3e1b8 commit 3d93002
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 25 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: build

on: [push]
on:
push:
branches:
- main
- master
- develop
- 'release/**'
pull_request:
types: [opened, synchronize, reopened]

jobs:
build:
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/sonar.yaml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: test
on:
push:
branches:
- main
- master
- develop
- 'release/**'
pull_request:
types: [opened, synchronize, reopened]

jobs:
sonarqube:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.21

- name: Display Go version
run: go version

- name: Install dependencies
run: go install github.com/yusufcanb/tlm

- name: Test
run: go test .\...

0 comments on commit 3d93002

Please sign in to comment.