chore(deps): update docker/setup-buildx-action digest to 5d98624 #605
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: | |
workflow_dispatch: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
go-version: [ '1.19', '1.20', '1.21' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Build | |
run: go build -v ./... | |
working-directory: sztp-agent | |
- name: Test | |
run: go test -race -coverprofile=coverage.out -covermode=atomic -v ./... | |
working-directory: sztp-agent | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |