Skip to content

chore(deps): bump gorm.io/gorm from 1.25.10 to 1.25.11 in the gomod group #52

chore(deps): bump gorm.io/gorm from 1.25.10 to 1.25.11 in the gomod group

chore(deps): bump gorm.io/gorm from 1.25.10 to 1.25.11 in the gomod group #52

name: Presubmit Checks
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- master
paths:
- '**.go'
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable
check-latest: true
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.58.1
unit-test:
name: Unit Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable
check-latest: true
- name: Test
run: |
make unit-test
integration-test:
name: Integration Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable
check-latest: true
- name: Integration Test
run: |
set -euo pipefail
docker pull ustcmirror/test
make integration-test