mirror of
https://github.com/wneessen/go-hibp.git
synced 2024-11-14 01:12:54 +01:00
Winni Neessen
b66183134d
This commit updates the Go versions specified in the GitHub Actions workflows. The versions in 'codecov_testonly.yml', 'golangci-lint.yml', 'codecov.yml', and 'sonarqube.yml' files have been updated to more recent versions. These updates ensure the workflows use up-to-date Go language features and maintain compatibility with the latest Go releases.
32 lines
641 B
YAML
32 lines
641 B
YAML
name: Codecov workflow
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- '**.go'
|
|
- 'go.*'
|
|
- '.github/**'
|
|
- 'codecov.yml'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- '**.go'
|
|
- 'go.*'
|
|
- '.github/**'
|
|
- 'codecov.yml'
|
|
jobs:
|
|
run:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
go: ['1.19', '1.20', '1.21', '1.22']
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@master
|
|
|
|
- name: Run Tests
|
|
run: |
|
|
go test -v -race --coverprofile=coverage.coverprofile --covermode=atomic .
|