Skip to content

chore(deps): bump anchore/sbom-action from 0.24.0 to 0.24.2 #292

chore(deps): bump anchore/sbom-action from 0.24.0 to 0.24.2

chore(deps): bump anchore/sbom-action from 0.24.0 to 0.24.2 #292

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: build
on:
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: "go.mod"
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install bun dependencies
run: bun i --cwd ./web
- name: Install templ
run: |
TEMPL_VER=$(go list -m github.com/a-h/templ | awk '{print $2}')
curl -sSL "https://github.com/a-h/templ/releases/download/${TEMPL_VER}/templ_Linux_x86_64.tar.gz" \
| tar xz -C /usr/local/bin templ
- name: Generate
run: go generate ./...
- name: Build frontend
run: bun run --cwd web build
- name: Build
run: go build -v ./...
- name: Test
run: go test -race -buildvcs ./...
- name: Lint
uses: golangci/golangci-lint-action@v9
with:
version: latest