mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
43 lines
765 B
YAML
43 lines
765 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
go_version: [1.25.x]
|
|
steps:
|
|
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Set up Go 1.x
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version-file: './go.mod'
|
|
check-latest: true
|
|
- run: go version
|
|
|
|
- name: Test
|
|
run: go test -v ./...
|
|
|
|
- name: Setup examples for testing
|
|
run: ./.github/scripts/setup_examples_test.bash
|
|
|
|
- name: Test examples
|
|
continue-on-error: true
|
|
working-directory: _examples
|
|
run: go test -v -mod=mod -cover -race ./...
|