Skip to content

Bump actions/upload-artifact from 3.1.2 to 4.3.4 #350

Bump actions/upload-artifact from 3.1.2 to 4.3.4

Bump actions/upload-artifact from 3.1.2 to 4.3.4 #350

Workflow file for this run

on: [push]
name: Go tests
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
Build-and-test:
strategy:
matrix:
go-version: [1.20.x, 1.21.x, 1.22.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...