-
Notifications
You must be signed in to change notification settings - Fork 5
34 lines (33 loc) · 924 Bytes
/
ci.yml
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
name: execute validation runs
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: |
echo "$HOME/bin" >> "$GITHUB_PATH"
echo "$HOME/gopath/bin" >> "$GITHUB_PATH"
- name: Install Task
uses: arduino/setup-task@v1
- uses: actions/setup-go@v2
with:
go-version: '1.18'
- uses: actions/checkout@v2
- name: install
run: |
task install-tools && \
task install
- name: verify preconditions
run: task verify
- run: task test integration-test
- run: task lint
- run: task coveralls-analysis
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}