Skip to content

Create build_and_lint.yml #1

Create build_and_lint.yml

Create build_and_lint.yml #1

name: Build and Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.16'
- name: Build
run: go build
- name: Run appstreamlint
run: |
./appstreamlint com.example.appname.metainfo.xml