SoXX
60b3502ee3
As mentioned in #17, I implemented the new SDK. I removed the scheduler and executor code since they were no longer needed. Reviewed-on: anthrove/e621-to-graph#18 Reviewed-by: Lennard Brinkhaus <lennard.brinkhaus@noreply.localhost> Reviewed-by: daskadse <daskadse@noreply.localhost> Co-authored-by: SoXX <soxx@fenpa.ws> Co-committed-by: SoXX <soxx@fenpa.ws>
30 lines
999 B
YAML
30 lines
999 B
YAML
name: Gitea Build Check
|
|
run-name: ${{ gitea.actor }} is testing the build
|
|
on:
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
jobs:
|
|
Build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup Go environment
|
|
uses: https://github.com/actions/setup-go@v3
|
|
with:
|
|
# The Go version to download (if necessary) and use. Supports semver spec and ranges.
|
|
go-version: 1.21.3 # optional
|
|
# Path to the go.mod file.
|
|
go-version-file: ./go.mod # optional
|
|
# Set this option to true if you want the action to always check for the latest available version that satisfies the version spec
|
|
check-latest: true # optional
|
|
# Used to specify whether caching is needed. Set to true, if you'd like to enable caching.
|
|
cache: true # optional
|
|
|
|
- name: Build
|
|
run: go build -v ./...
|
|
|
|
- name: Test
|
|
run: go test -v ./... -json -coverprofile=coverage.out > test-report.out
|