Skip to content

Translations update from Hosted Weblate (#265) #74

Translations update from Hosted Weblate (#265)

Translations update from Hosted Weblate (#265) #74

Workflow file for this run

name: Go
on:
push:
branches: [ "v2" ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/vanilla-os/pico:main
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Install build dependencies
run: |
apt-get update
apt-get install -y pkg-config build-essential
- name: Build
run: go build -o apx
- name: Compress
run: tar -czvf apx.tar.gz apx
- name: Compress-manpage
run: tar -czvf apx-man.tar.gz man/man1/apx.1
- uses: softprops/action-gh-release@v1
with:
token: "${{ secrets.GITHUB_TOKEN }}"
tag_name: "continuous"
prerelease: true
name: "Continuous Build"
files: |
apx.tar.gz
apx-man.tar.gz
sonar:
name: Sonar
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}