Bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0 (#32) #95
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: CICD | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18 | |
- name: Run build binary | |
run: make build | |
- name: Setup make | |
run: make setup | |
# - name: Run linter | |
# run: make lint | |
- name: Run unit tests | |
run: | | |
make test | |
make test-json | |
- name: SonarCloud Scan | |
uses: SonarSource/sonarcloud-github-action@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
# - name: Build image and push to Docker Hub and GitHub Container Registry | |
# uses: docker/build-push-action@v2 | |
# with: | |
# context: . | |
# tags: | | |
# oskardudycz/eventsourcing.nodejs.simple:latest | |
# ghcr.io/oskardudycz/eventsourcing.nodejs/simple:latest | |
# push: ${{ github.ref == 'refs/heads/main' }} |