build(deps): bump actions/upload-artifact from 4.4.0 to 4.6.0 #331
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Quality check | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
static-analysis: | |
name: Static analysis | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: block | |
allowed-endpoints: > | |
github.com:443 | |
api.github.com:443 | |
objects.githubusercontent.com:443 | |
proxy.golang.org:443 | |
sum.golang.org:443 | |
ppa.launchpadcontent.net:443 | |
packages.microsoft.com:443 | |
azure.archive.ubuntu.com:80 | |
motd.ubuntu.com:443 | |
esm.ubuntu.com:443 | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup OS | |
uses: awalsh128/cache-apt-pkgs-action@a6c3917cc929dd0345bfb2d3feaf9101823370ad # v1.4.2 | |
with: | |
packages: libseccomp-dev | |
- name: Setup Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: 'stable' | |
- name: Install dependencies | |
run: make | |
- run: make check | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: block | |
allowed-endpoints: > | |
github.com:443 | |
api.github.com:443 | |
objects.githubusercontent.com:443 | |
proxy.golang.org:443 | |
sum.golang.org:443 | |
ppa.launchpadcontent.net:443 | |
packages.microsoft.com:443 | |
azure.archive.ubuntu.com:80 | |
motd.ubuntu.com:443 | |
esm.ubuntu.com:443 | |
httpbin.org:443 | |
hn.algolia.com:80 | |
hn.algolia.com:443 | |
lemmy.world:443 | |
lobste.rs:443 | |
www.reddit.com:443 | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup OS | |
uses: awalsh128/cache-apt-pkgs-action@a6c3917cc929dd0345bfb2d3feaf9101823370ad # v1.4.2 | |
with: | |
packages: libseccomp-dev | |
- name: Setup Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: 'stable' | |
- name: Install dependencies | |
run: make | |
- run: make test |