Skip to content

Commit

Permalink
ci: rework of pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
loboda4450 authored and dsonck92 committed Jul 9, 2024
1 parent 165b1ef commit a1eeb49
Show file tree
Hide file tree
Showing 13 changed files with 211 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Anass Bouassaba.
# Copyright 2023 Anass Bouassaba, Piotr Łoboda.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Anass Bouassaba.
# Copyright 2023 Anass Bouassaba, Piotr Łoboda.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Anass Bouassaba.
# Copyright 2023 Anass Bouassaba, Piotr Łoboda.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Anass Bouassaba.
# Copyright 2023 Anass Bouassaba, Piotr Łoboda.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Anass Bouassaba.
# Copyright 2023 Anass Bouassaba, Piotr Łoboda.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Anass Bouassaba.
# Copyright 2023 Anass Bouassaba, Piotr Łoboda.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Anass Bouassaba.
# Copyright 2023 Anass Bouassaba, Piotr Łoboda.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/lint-api.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 2023 Daniel Sonck, Piotr Łoboda.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
#
# As of the Change Date specified in that file, in accordance with
# the Business Source License, use of this software will be governed
# by the GNU Affero General Public License v3.0 only, included in the file
# licenses/AGPL.txt.

name: Lint voltaserve/api

on:
pull_request:
branches:
- main
paths:
- "api/**"

jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Lint using Golanci lint
uses: golangci/golangci-lint-action@v6
with:
working-directory: api
permissions:
contents: read
pull-requests: read
checks: write
34 changes: 34 additions & 0 deletions .github/workflows/lint-conversion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 2023 Daniel Sonck, Piotr Łoboda.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
#
# As of the Change Date specified in that file, in accordance with
# the Business Source License, use of this software will be governed
# by the GNU Affero General Public License v3.0 only, included in the file
# licenses/AGPL.txt.

name: Lint voltaserve/conversion

on:
pull_request:
branches:
- main
paths:
- "conversion/**"

jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Lint using Golanci lint
uses: golangci/golangci-lint-action@v6
with:
working-directory: conversion
permissions:
contents: read
pull-requests: read
checks: write
34 changes: 34 additions & 0 deletions .github/workflows/lint-idp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 2023 Daniel Sonck, Piotr Łoboda.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
#
# As of the Change Date specified in that file, in accordance with
# the Business Source License, use of this software will be governed
# by the GNU Affero General Public License v3.0 only, included in the file
# licenses/AGPL.txt.

name: Lint voltaserve/idp

on:
pull_request:
branches:
- main
paths:
- "idp/**"

jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Lint using Golanci lint
uses: golangci/golangci-lint-action@v6
with:
working-directory: idp
permissions:
contents: read
pull-requests: read
checks: write
34 changes: 34 additions & 0 deletions .github/workflows/lint-language.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 2023 Daniel Sonck, Piotr Łoboda.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
#
# As of the Change Date specified in that file, in accordance with
# the Business Source License, use of this software will be governed
# by the GNU Affero General Public License v3.0 only, included in the file
# licenses/AGPL.txt.

name: Lint voltaserve/language

on:
pull_request:
branches:
- main
paths:
- "language/**"

jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Lint using Golanci lint
uses: golangci/golangci-lint-action@v6
with:
working-directory: language
permissions:
contents: read
pull-requests: read
checks: write
34 changes: 34 additions & 0 deletions .github/workflows/lint-mosaic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 2023 Daniel Sonck, Piotr Łoboda.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
#
# As of the Change Date specified in that file, in accordance with
# the Business Source License, use of this software will be governed
# by the GNU Affero General Public License v3.0 only, included in the file
# licenses/AGPL.txt.

name: Lint voltaserve/mosaic

on:
pull_request:
branches:
- main
paths:
- "mosaic/**"

jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Lint using Golanci lint
uses: golangci/golangci-lint-action@v6
with:
working-directory: mosaic
permissions:
contents: read
pull-requests: read
checks: write
34 changes: 34 additions & 0 deletions .github/workflows/lint-ui.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 2023 Daniel Sonck, Piotr Łoboda.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt.
#
# As of the Change Date specified in that file, in accordance with
# the Business Source License, use of this software will be governed
# by the GNU Affero General Public License v3.0 only, included in the file
# licenses/AGPL.txt.

name: Lint voltaserve/ui

on:
pull_request:
branches:
- main
paths:
- "ui/**"

jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Lint using Golanci lint
uses: golangci/golangci-lint-action@v6
with:
working-directory: ui
permissions:
contents: read
pull-requests: read
checks: write

0 comments on commit a1eeb49

Please sign in to comment.