Skip to content

chore(deps): update dependency go to v1.22.5 #290

chore(deps): update dependency go to v1.22.5

chore(deps): update dependency go to v1.22.5 #290

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: lint
uses: reviewdog/[email protected]
test:
env:
TEST_TARGET: ./... github.com/aereal/otelgqlgen/test
strategy:
matrix:
go_version:
- '1.21.x'
- '1.22.x'
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: ${{ matrix.go_version }}
cache: true
cache-dependency-path: |
go.sum
test/go.sum
- run: |
go work init ./ ./test
go work sync
- run: go mod download
- name: test
run: go test -v -race -coverprofile=cover.out $TEST_TARGET
- uses: actions/[email protected]
if: ${{ matrix.go_version == '1.22.x' }}
with:
name: coverage
path: ./cover.out
if-no-files-found: error
report-coverage:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
pull-requests: write
needs:
- test
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
name: coverage
- uses: k1LoW/[email protected]