Skip to content

fix(deps): update module golang.org/x/oauth2 to v0.25.0 #65

fix(deps): update module golang.org/x/oauth2 to v0.25.0

fix(deps): update module golang.org/x/oauth2 to v0.25.0 #65

Workflow file for this run

name: App CI
on:
push:
paths: [ 'app/**', '.github/workflows/app_ci.yml' ]
pull_request:
paths: [ 'app/**', '.github/workflows/app_ci.yml' ]
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./app
services:
mariadb:
image: mariadb:11.6.2@sha256:a9547599cd87d7242435aea6fda22a9d83e2c06d16c658ef70d2868b3d3f6a80
ports:
- "3306:3306"
env:
MYSQL_DATABASE: monitor_db
MYSQL_ROOT_PASSWORD: monitor_pw
options: >-
--health-cmd "healthcheck.sh --connect --innodb_initialized"
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
MONITOR_DB_HOST: 127.0.0.1
MONITOR_DB_PORT: 3306
MONITOR_DB_USER: root
MONITOR_DB_PASSWORD: monitor_pw
MONITOR_DB_NAME: monitor_db
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
sparse-checkout: |
app
schema/database
- name: "Set up Go"
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: app/go.mod
cache: true
cache-dependency-path: |
app/go.sum
- name: "Build"
run: go build cmd/http/main.go
- name: "Run test"
run: go run gotest.tools/gotestsum@v1.12.0 --junitfile ~/test-results.xml
- name: "Upload Results"
uses: mikepenz/action-junit-report@62516aa379bff6370c95fd5894d5a27fb6619d9b # v5.2.0
if: ${{ success() || failure() }}
continue-on-error: true
with:
report_paths: ~/test-results.xml
check_name: Test Report