diff --git a/.github/workflows/gettext.yml b/.github/workflows/gettext.yml index c138b0d..ef0219a 100644 --- a/.github/workflows/gettext.yml +++ b/.github/workflows/gettext.yml @@ -1,14 +1,29 @@ name: Gettext Updates + on: push: branches: master + jobs: - gettext_template: - runs-on: ubuntu-latest + build: + runs-on: ubuntu-22.04 + container: + image: elementary/docker:next-unstable + steps: - - uses: actions/checkout@v1 - - uses: elementary/actions/gettext-template@master + - name: Install git + run: | + apt-get update + apt-get install git -y + + - name: Clone repository + uses: actions/checkout@v3 + with: + token: ${{ secrets.GIT_USER_TOKEN }} + + - name: Update Translation Files + uses: elementary/actions/gettext-template@next env: - GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}" + GIT_USER_TOKEN: ${{ secrets.GIT_USER_TOKEN }} GIT_USER_NAME: "elementaryBot" GIT_USER_EMAIL: "builds@elementary.io" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 81550f7..3f3f63d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,34 +4,32 @@ on: [push] jobs: build: - runs-on: ubuntu-latest - + container: image: elementary/docker:unstable - + steps: - - uses: actions/checkout@v1 - - name: Install Dependencies - run: | - apt update - apt install -y libgeoclue-2-dev libgranite-dev libgtk-3-dev meson valac - - name: Build - env: - DESTDIR: out - run: | - meson build - ninja -C build - ninja -C build install + - uses: actions/checkout@v3 + - name: Install Dependencies + run: | + apt update + apt install -y libgeoclue-2-dev libgranite-dev libgtk-3-dev meson valac + - name: Build + env: + DESTDIR: out + run: | + meson build + ninja -C build + ninja -C build install lint: - runs-on: ubuntu-latest - + container: image: valalang/lint - + steps: - - uses: actions/checkout@v1 - - name: Lint - run: io.elementary.vala-lint -d . + - uses: actions/checkout@v3 + - name: Lint + run: io.elementary.vala-lint -d . diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 58d6e4b..424cf1f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,14 +6,14 @@ on: types: closed jobs: release: - runs-on: ubuntu-latest - if: github.event.pull_request.merged == true && true == contains(join(github.event.pull_request.labels.*.name), 'Release') - steps: - - uses: actions/checkout@v1 - - uses: elementary/actions/release@master - env: - GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}" - GIT_USER_NAME: "elementaryBot" - GIT_USER_EMAIL: "builds@elementary.io" - with: - release_branch: 'odin' + runs-on: ubuntu-latest + if: github.event.pull_request.merged == true && true == contains(join(github.event.pull_request.labels.*.name), 'Release') + steps: + - uses: actions/checkout@v3 + - uses: elementary/actions/release@master + env: + GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}" + GIT_USER_NAME: "elementaryBot" + GIT_USER_EMAIL: "builds@elementary.io" + with: + release_branch: "odin"