Skip to content

build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.1.14 #192

build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.1.14

build(deps): bump github.com/opencontainers/runc from 1.1.12 to 1.1.14 #192

Workflow file for this run

name: release-test
on:
workflow_dispatch:
push:
branches: [ "master", "dev" ]
pull_request:
branches: [ "master", "dev" ]
permissions:
contents: read
jobs:
release-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
with:
go-version: '1.22.4'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6
with:
distribution: goreleaser
version: latest
args: release --snapshot --clean --skip=publish -p 1
- name: Test binary
run: |
mkdir amd64 && tar zxvf dist/ptcpdump_v0.0.0-next_linux_amd64.tar.gz -C amd64
mkdir arm64 && tar zxvf dist/ptcpdump_v0.0.0-next_linux_arm64.tar.gz -C arm64
./amd64/ptcpdump --version
file ./amd64/ptcpdump |grep x86-64 |grep 'statically linked'
file ./arm64/ptcpdump |grep aarch64 |grep 'statically linked'
- name: Store Releases
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
with:
name: ptcpdump_v0.0.0-next_linux_amd64.tar.gz
path: dist/ptcpdump_v0.0.0-next_linux_amd64.tar.gz
- name: Store Releases
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
with:
name: ptcpdump_v0.0.0-next_linux_arm64.tar.gz
path: dist/ptcpdump_v0.0.0-next_linux_arm64.tar.gz