ebiten/.github/workflows/sourcehutbuild.yml

34 lines
854 B
YAML
Raw Normal View History

name: Sourcehut Build
# Skip pull requests as secrets are not available there.
on: push
jobs:
test:
if: github.repository_owner == 'hajimehoshi'
strategy:
matrix:
2021-10-15 21:58:14 +02:00
os: [alpine, arch, debian, fedora, freebsd, ubuntu]
name: Test on ${{ matrix.os }}
runs-on: ubuntu-latest
env:
SOURCEHUT_OAUTH_TOKEN: ${{ secrets.SOURCEHUT_OAUTH_TOKEN }}
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.17.x
- name: Run
run: |
go run .github/workflows/sourcehutbuild.go \
2021-08-27 20:48:40 +02:00
-commit $GITHUB_SHA \
-manifest .github/workflows/sourcehutmanifests/${{ matrix.os }}.yml \
2021-08-27 20:48:40 +02:00
-note "$GITHUB_SHA (${{ matrix.os }})"