Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Bump github.com/opencontainers/runc from 1.0.3 to 1.1.5 in /generator #84

Bump github.com/opencontainers/runc from 1.0.3 to 1.1.5 in /generator

Bump github.com/opencontainers/runc from 1.0.3 to 1.1.5 in /generator #84

Workflow file for this run

name: Go Tests
on: [push]
jobs:
build:
name: Test
runs-on: ubuntu-latest
steps:
# Checkout your project with git
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
# Install Go on the VM running the action.
- name: Set up Go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
with:
go-version: 1.19
# install deps using go install
- name: Install gotestfmt
run: go install github.com/haveyoudebuggedit/gotestfmt/v2/cmd/gotestfmt@v2.3.0
- name: Install Nomad
run: |
wget https://releases.hashicorp.com/nomad/1.4.0-beta.1/nomad_1.4.0-beta.1_linux_amd64.zip
unzip nomad_1.4.0-beta.1_linux_amd64.zip
cp nomad /usr/local/bin
# Run tests with nice formatting. Save the original log in /tmp/gotest.log
- name: Run tests
run: |
set -euo pipefail
cd v1
go test -json -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
# Upload the original go test log as an artifact for later review.
- name: Upload test log
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
if: ${{ !env.ACT }}
with:
name: test-log
path: /tmp/gotest.log
if-no-files-found: error