Files
wish-serve/.gitea/workflows/test.yaml
Yves Biener b33ae50397
Some checks failed
Go Project Action / Spell-check and test go project (push) Successful in 32s
Go Project Action / Spell-check and test go project (release) Successful in 28s
Release Go Application / Release go project (release) Failing after 30s
mod(action): checkout depth and release action instead of upload action
2024-10-06 11:07:08 +02:00

32 lines
712 B
YAML

name: Go Project Action
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
release:
types: [published]
jobs:
run:
name: Spell-check and test go project
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go installation
uses: actions/setup-go@v5
with:
go-version: 1.23.x
- name: Spell checking
uses: crate-ci/typos@v1.25.0
with:
config: ./.typos-config
- name: Install dependencies
run: go get .
- name: Run tests
run: go test ./...