Skip to content

Commit ead39c7

Browse files
authored
Update CI (#27)
1 parent fd4a35c commit ead39c7

File tree

3 files changed

+7
-20
lines changed

3 files changed

+7
-20
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
1-
# For most projects, this workflow file will not need changing; you simply need
2-
# to commit it to your repository.
3-
#
4-
# You may wish to alter this file to override the set of languages analyzed,
5-
# or to provide custom queries or build logic.
6-
#
7-
# ******** NOTE ********
8-
# We have attempted to detect the languages in your repository. Please check
9-
# the `language` matrix defined below to confirm you have the correct set of
10-
# supported CodeQL languages.
11-
#
121
name: "CodeQL"
13-
142
on:
153
push:
164
branches: [ "master" ]
@@ -33,8 +21,6 @@ jobs:
3321
fail-fast: false
3422
matrix:
3523
language: [ 'go' ]
36-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37-
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
3824

3925
steps:
4026
- name: Checkout repository

.github/workflows/review.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
name: Review
2-
on:
3-
push:
4-
branches-ignore:
5-
- master
2+
on: [pull_request]
63
jobs:
7-
golangci-lint:
4+
lint:
85
runs-on: ubuntu-latest
96
steps:
107
- name: Check out code into the Go module directory
118
uses: actions/checkout@v3
129

1310
- name: golangci-lint
1411
uses: reviewdog/[email protected]
12+
with:
13+
fail_on_error: true
14+
reporter: github-pr-review
15+
github_token: ${{ secrets.github_token }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Test
22
on: [push]
33
jobs:
4-
build:
4+
test:
55
runs-on: ubuntu-latest
66
steps:
77
- name: Set up Go 1.18

0 commit comments

Comments
 (0)