Skip to content

Bump kiota from 1.18.0 to 1.19.1 #60

Bump kiota from 1.18.0 to 1.19.1

Bump kiota from 1.18.0 to 1.19.1 #60

Workflow file for this run

name: Tests
on:
pull_request:
push:
permissions:
contents: read
jobs:
test:
name: Test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
- name: Run tests
run: go test -race ./...
test-example:
name: Test example
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
working-directory: ./example
- name: Run tests
run: go test -race ./...
working-directory: ./example
mod:
name: Check that `go mod tidy` is clean
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
- name: Check
run: |
go mod tidy
git diff --name-only --exit-code || (echo "Please run 'go mod tidy'."; exit 1)