Skip to content

adapters: Run go mod tidy on rinkrolescheduler (#54) #184

adapters: Run go mod tidy on rinkrolescheduler (#54)

adapters: Run go mod tidy on rinkrolescheduler (#54) #184

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Run
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
core:
strategy:
matrix:
go: [ '1.21', '1.22', '1' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Vet
run: go vet -v ./...
- name: Test
run: go test -v ./...
adapters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Vet
run: find ./adapters -type f -name "go.mod" -exec dirname {} \; | while read -r dir; do (cd "$dir" && go vet ./...) done
_examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Vet
run: find ./_examples -type f -name "go.mod" -exec dirname {} \; | while read -r dir; do (cd "$dir" && go vet ./...) done