Skip to content

chore(example-deps): bump gorm.io/gorm from 1.25.9 to 1.25.10 in /examples/nethttp #18

chore(example-deps): bump gorm.io/gorm from 1.25.9 to 1.25.10 in /examples/nethttp

chore(example-deps): bump gorm.io/gorm from 1.25.9 to 1.25.10 in /examples/nethttp #18

Workflow file for this run

name: Build
on:
push:
branches: [master]
pull_request:
jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
go-version: [1.21.x, 1.22.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Build
shell: bash
run: make build
- name: Set up Docker on macOS
if: matrix.os == 'macos-latest'
uses: douglascamata/setup-docker-macos-action@v1-alpha
- name: Test and Coverage
shell: bash
run: make cover
- name: Coveralls
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: ./cover.out
license-scan:
name: License scan
runs-on: ubuntu-latest
if: github.event_name == 'push'
needs: [build]
steps:
- uses: actions/checkout@v4
- name: Install FOSSA
run: |
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
- name: Run FOSSA analysis
env:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
run: fossa analyze
- name: Check FOSSA status
env:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
run: fossa test
semantic-release:
name: Semantic Release
runs-on: ubuntu-latest
needs: [license-scan]
if: github.event_name == 'push'
permissions:
contents: write
issues: write
steps:
- uses: actions/checkout@v4
- name: Run semantic-release
run: |
yarn global add semantic-release@17
semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}