-
Notifications
You must be signed in to change notification settings - Fork 4
63 lines (57 loc) · 2.01 KB
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Copyright 2023 New Relic Corporation. All rights reserved.
# SPDX-License-Identifier: New Relic Software License v1.0
name: Go Security Agent CI
on: [push, pull_request]
jobs:
go-agent-v3:
runs-on: ubuntu-latest
strategy:
# if one test fails, do not abort the rest
fail-fast: false
matrix:
include:
- go-version: 1.18.x
dirs: instrumentation/csec_antchfx_htmlquery
- go-version: 1.18.x
dirs: instrumentation/csec_antchfx_xpath
- go-version: 1.18.x
dirs: instrumentation/csec_ldap_v3
- go-version: 1.18.x
dirs: instrumentation/csec_sql
- go-version: 1.18.x
dirs: instrumentation/csec_antchfx_jsonquery
- go-version: 1.18.x
dirs: instrumentation/csec_mongodb_mongo
- go-version: 1.18.x
dirs: instrumentation/csec_antchfx_xmlquery
- go-version: 1.18.x
dirs: instrumentation/csec_robertkrimen_otto
- go-version: 1.19.x
dirs: instrumentation/csec_antchfx_htmlquery
- go-version: 1.19.x
dirs: instrumentation/csec_antchfx_xpath
- go-version: 1.19.x
dirs: instrumentation/csec_ldap_v3
- go-version: 1.19.x
dirs: instrumentation/csec_sql
- go-version: 1.19.x
dirs: instrumentation/csec_antchfx_jsonquery
- go-version: 1.19.x
dirs: instrumentation/csec_mongodb_mongo
- go-version: 1.19.x
dirs: instrumentation/csec_antchfx_xmlquery
- go-version: 1.19.x
dirs: instrumentation/csec_robertkrimen_otto
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout Code
uses: actions/checkout@v1
- name: Run Tests
run: bash ./build-script.sh
env:
DIRS: ${{ matrix.dirs }}
EXTRATESTING: ${{ matrix.extratesting }}
PIN: ${{ matrix.pin }}