mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2026-11-13 13:26:34 +00:00
* Remove dependency on cache-apt-pkgs-action-ci repo
The action's own workflows (action-tests.yml) already run the same test
jobs as the -ci repo, against the local checkout before merge, so the
separate CI repo is redundant.
- Remove the pub_{master,dev,staging}_push_event.yml workflows that
dispatched events to the -ci repo (PUBLISH_PUSH_TOKEN secret can be
deleted from repository settings).
- Point the README test badges at action-tests.yml.
- Port the release-tag tooling (moves the v1 and latest tags) from the
-ci repo into scripts/release/ and add an update_release_tags
workflow. Scripts now operate on the current clone instead of
assuming a sibling checkout, run non-interactively when CI=true, and
fix the target-tag validation bug in copy_tag.sh.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112vpMFQJc7Nz7FwE71r5do
* Upgrade golangci-lint to v2 for golangci-lint-action v9
golangci-lint-action >= v7 rejects golangci-lint v1, so the Lint step
failed before installing. Move to golangci-lint v2.14.0 and add a v2
config that keeps the default exclusions v1 applied implicitly. Fix the
one new staticcheck QF1008 finding.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Update expected gir1.2-gdkpixbuf-2.0 version in action tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
30 lines
680 B
YAML
30 lines
680 B
YAML
name: Pull Request
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
integrate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
|
|
- name: Setup Go
|
|
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
|
with:
|
|
go-version-file: "go.mod"
|
|
|
|
- name: Build and test
|
|
run: |
|
|
go build -v ./...
|
|
go test -v ./...
|
|
|
|
- name: Lint
|
|
uses: golangci/golangci-lint-action@d583c34f0599d37dbac4a198b9c83201be380893 # v9.3.0
|
|
with:
|
|
version: v2.14.0
|