Skip to content

chore(deps): bump github.com/opencontainers/runc from 1.1.5 to 1.1.12 #47

chore(deps): bump github.com/opencontainers/runc from 1.1.5 to 1.1.12

chore(deps): bump github.com/opencontainers/runc from 1.1.5 to 1.1.12 #47

Workflow file for this run

name: tests
on: pull_request
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Go
uses: WillAbides/[email protected]
with:
go-version: '1.19'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
codeql:
name: analyze
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: go
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
build-containers:
name: build container test
runs-on: ubuntu-latest
needs:
- golangci
- codeql
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up buildx
uses: docker/setup-buildx-action@v1
- name: Build containers
uses: docker/build-push-action@v2
with:
push: false
platforms: linux/amd64,linux/arm64
build-binaries:
name: build test
runs-on: ubuntu-latest
needs:
- golangci
- codeql
strategy:
matrix:
goos: [linux]
goarch: [amd64, arm64]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Go
uses: WillAbides/[email protected]
with:
go-version: '1.19'
- name: Run go build
run: |
BINARY_NAME=scra-${{matrix.goos}}-${{matrix.goarch}}
GOOS=${{matrix.goos}} GOARCH=${{matrix.goarch}} go build -o $BINARY_NAME -v