Skip to content

Bump golangci/golangci-lint-action from 5.0.0 to 5.1.0 #158

Bump golangci/golangci-lint-action from 5.0.0 to 5.1.0

Bump golangci/golangci-lint-action from 5.0.0 to 5.1.0 #158

Workflow file for this run

name: Build landingpage
on:
pull_request:
branches: ["main"]
release:
types: ["published"]
jobs:
build:
name: Build landingpage
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
strategy:
matrix:
machine:
- generic-x86-64
- intel-nuc
- khadas-vim3
- odroid-c2
- odroid-c4
- odroid-m1
- odroid-n2
- odroid-xu
- qemuarm
- qemuarm-64
- qemux86
- qemux86-64
- raspberrypi
- raspberrypi2
- raspberrypi3
- raspberrypi3-64
- raspberrypi4
- raspberrypi4-64
- raspberrypi5-64
- tinker
- yellow
- green
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
if: github.event_name == 'release'
uses: docker/login-action@v3.1.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set build arguments
if: github.event_name != 'release'
run: echo "BUILD_ARGS=--test" >> $GITHUB_ENV
- name: Build landingpage
uses: home-assistant/builder@2024.03.5
with:
args: |
$BUILD_ARGS \
--target /data \
--no-latest \
--cosign \
--machine landingpage=${{ matrix.machine }}