Skip to content

Commit

Permalink
Actions: Unify coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonakano committed Oct 19, 2023
1 parent 9180cfd commit 5b19cd9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/main.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ name: CI
on: [pull_request]

jobs:
Flatpak:
runs-on: ubuntu-latest
flatpak:
name: Flatpak
runs-on: ubuntu-22.04

strategy:
matrix:
Expand Down Expand Up @@ -37,12 +38,16 @@ jobs:
cache-key: "flatpak-builder-${{ github.sha }}"
arch: ${{ matrix.arch }}

Lint:
lint:
name: Lint
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

container:
image: valalang/lint

steps:
- uses: actions/checkout@v4
- name: Lint
run: io.elementary.vala-lint -d .
- name: Checkout
uses: actions/checkout@v4

- name: Lint
run: io.elementary.vala-lint -d .
5 changes: 5 additions & 0 deletions .github/workflows/gettext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ on:

jobs:
gettext_flatpak:
name: Gettext Flatpak
runs-on: ubuntu-latest

container:
image: ghcr.io/elementary/flatpak-platform/runtime:7.2-x86_64
options: --privileged
Expand All @@ -16,13 +18,16 @@ jobs:
run: |
apt-get update
apt-get install git jq python3-git -y
- name: Clone repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GIT_USER_TOKEN }}

- name: Configure Git
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: elementary/actions/gettext-flatpak@main
with:
manifest-path: 'com.github.ryonakano.konbucase.yml'

0 comments on commit 5b19cd9

Please sign in to comment.