Skip to content

Merge pull request #5 from kitanoyoru/dependabot/go_modules/libs/grpc… #55

Merge pull request #5 from kitanoyoru/dependabot/go_modules/libs/grpc…

Merge pull request #5 from kitanoyoru/dependabot/go_modules/libs/grpc… #55

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: Go
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.21.x' ]
steps:
- uses: actions/checkout@v4
- name: Set up Go {{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./apps/sso/cmd/main.go
- name: Test
run: ./scripts/test.sh > TestResults-${{ matrix.go-version }}.json
- name: Upload Test Results
uses: actions/upload-artifact@v4
with:
name: Test-results-${{ matrix.go-version }}
path: TestResults-${{ matrix.go-version }}.json