Compare commits

..

2 commits

Author SHA1 Message Date
47fb05db08
chore(ods): add README
Some checks failed
/ fmt (push) Successful in 9s
/ test (push) Successful in 11s
/ build (push) Failing after 8s
2025-03-13 00:33:07 +01:00
1a6a268884
chore(tooling): add forgejo actions workflow 2025-03-13 00:33:04 +01:00

View file

@ -22,3 +22,25 @@ jobs:
go-version-file: 'go.mod'
- run: |
make check tidy no-dirty
build:
if: "${{ startsWith(github.ref, 'refs/tags/') }}"
needs:
- 'fmt'
- 'test'
runs-on: 'self-hosted'
steps:
- uses: 'actions/checkout@v4'
- uses: 'actions/setup-go@v5'
with:
go-version-file: 'go.mod'
- run: |
printf '%s' "$GIT_CRYPT_SECRET" | base64 -d > secret
git-crypt unlock secret
make build
env:
GIT_CRYPT_SECRET: '${{ secrets.GIT_CRYPT }}'
- uses: 'actions/upload-artifact@v4'
with:
if-no-files-found: 'error'
name: 'ods-${{ env.GITHUB_REF_NAME }}'
path: 'ods'