mirror of
https://github.com/amalgamated-tools/mirror-to-gitea.git
synced 2025-12-23 22:18:05 -05:00
24 lines
372 B
YAML
24 lines
372 B
YAML
name: Tests
|
|
|
|
env:
|
|
IMAGE_NAME: mirror-to-gitea
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '1.24'
|
|
- name: Install dependencies
|
|
run: go mod download
|
|
- name: Run tests
|
|
run: go test -v ./...
|
|
- name: Build
|
|
run: go build -v .
|