Skip to content

Commit

Permalink
chore(ci): update actions
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
  • Loading branch information
rustatian committed Jul 5, 2024
1 parent b7ee2e0 commit 6a6e08a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 58 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,22 @@
name: Linters

on:
push:
branches:
- master
- beta
- stable
tags-ignore:
- "**"
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
on: [push, pull_request]

jobs:
golangci-lint:
name: Golang-CI (lint)
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 'stable'

- name: Run linter
uses: golangci/golangci-lint-action@v3 # Action page: <https://github.com/golangci/golangci-lint-action>
with:
version: v1.57 # without patch version
version: v1.59 # without patch version
only-new-issues: false # show only new issues if it's a pull request
15 changes: 1 addition & 14 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
name: Linux

on:
push:
branches:
- master
- beta
- stable
tags-ignore:
- '**'
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'

on: [push, pull_request]

jobs:
build:
Expand Down
15 changes: 1 addition & 14 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
name: MacOS

on:
push:
branches:
- master
- beta
- stable
tags-ignore:
- '**'
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'

on: [push, pull_request]

jobs:
build:
Expand Down
15 changes: 1 addition & 14 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
name: Windows

on:
push:
branches:
- master
- beta
- stable
tags-ignore:
- '**'
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'

on: [push, pull_request]

jobs:
build:
Expand Down

0 comments on commit 6a6e08a

Please sign in to comment.