Skip to content

Bump github/codeql-action from 2.13.4 to 3.26.12 #1665

Bump github/codeql-action from 2.13.4 to 3.26.12

Bump github/codeql-action from 2.13.4 to 3.26.12 #1665

Workflow file for this run

name: "Test"
on:
pull_request:
paths-ignore:
- '**.md'
permissions: read-all
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 18
- name: Install libpcap-dev
run: sudo apt-get install -y libpcap-dev
- name: Run tests
run: go test -v -skip "TestDownload/crates.io_rand_valid_version" ./...
run-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0