Merge pull request #42 from helios-ag/dependabot/go_modules/golang.or… #31
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: Go | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.22 | |
- run: go version | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Examine source code | |
run: go vet -v ./... | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: make test/codecov | |
- name: Finish | |
run: bash <(curl -s https://codecov.io/bash) | |
- name: Update Go report card | |
uses: creekorful/[email protected] |