Skip to content

Commit

Permalink
ci: remove duplicate pipelines and fix ui lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dsonck92 committed Jul 9, 2024
1 parent dded8ea commit c771b15
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 65 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/build-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,6 @@ on:
- "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

build_and_push:
runs-on: ubuntu-latest
steps:
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/build-conversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,6 @@ on:
- "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

build_and_push:
runs-on: ubuntu-latest
steps:
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/build-mosaic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,6 @@ on:
- "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

build_and_push:
runs-on: ubuntu-latest
steps:
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/build-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,6 @@ on:
- "ui/**"

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

- name: Add dummy embedded files
run: |
mkdir ui/dist
touch ui/dist/index.html
- name: Lint using Golanci lint
uses: golangci/golangci-lint-action@v6
with:
working-directory: ui
permissions:
contents: read
pull-requests: read
checks: write

build_and_push:
runs-on: ubuntu-latest
steps:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/lint-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Add dummy embedded files
run: |
mkdir ui/dist
touch ui/dist/index.html
- name: Lint using Golanci lint
uses: golangci/golangci-lint-action@v6
with:
Expand Down

0 comments on commit c771b15

Please sign in to comment.