mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 03:12:45 +01:00
3041a612cb
As mentioned in the previous commit, `reuse lint` can be used to ensure that copyright information is always present and up to date. This adds a GitHub Action that does just that, using the official fsfe/reuse-action
32 lines
777 B
YAML
32 lines
777 B
YAML
# SPDX-FileCopyrightText: 2021 yuzu Emulator Project
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
name: yuzu-ci
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
tags: [ "*" ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
transifex:
|
|
runs-on: ubuntu-latest
|
|
container: yuzuemu/build-environments:linux-transifex
|
|
if: ${{ github.repository == 'yuzu-emu/yuzu' && !github.head_ref }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
fetch-depth: 0
|
|
- name: Update Translation
|
|
run: ./.ci/scripts/transifex/docker.sh
|
|
env:
|
|
TRANSIFEX_API_TOKEN: ${{ secrets.TRANSIFEX_API_TOKEN }}
|
|
|
|
reuse:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: fsfe/reuse-action@v1
|