Merge pull request #32 from jvmistica/docs/add-screenshot-readme #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: holiday-planner-go | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.20' | |
check-latest: true | |
- name: build | |
run: make build | |
- name: test | |
run: make test | |
- name: install govulncheck | |
run: go install golang.org/x/vuln/cmd/govulncheck@latest | |
- name: vulncheck | |
run: make vulncheck | |
- name: SonarCloud Scan | |
uses: SonarSource/sonarcloud-github-action@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITTOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONARTOKEN }} |