Skip to content

Commit

Permalink
Merge branch 'master' into danil42russia/linter_rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Danil42Russia authored Jul 31, 2024
2 parents 8a23734 + b211f8e commit 21ebf0b
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/go.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Linter

on:
pull_request:
branches: [ master ]

jobs:
linter:
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v4

- name: Set up Go 1.16
uses: actions/setup-go@v5
with:
go-version: 1.16

- name: Run Linter
run: make lint
29 changes: 29 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Tests

on:
push:
branches: [ master ]
pull_request:

jobs:
tests:
name: Test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- windows-latest
- ubuntu-latest
- macos-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v4

- name: Set up Go 1.16
uses: actions/setup-go@v5
with:
go-version: 1.16

- name: Run Tests
run: make test

0 comments on commit 21ebf0b

Please sign in to comment.