Skip to content

Commit

Permalink
fixup! Hardcode Ubuntu version for CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
rsmmr committed Jan 15, 2024
1 parent b3e8dfa commit 8a8e65e
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@ name: CI pipeline

on: push

env:
ZEEK_LTS: -lts
ZEEK_VERSION: 6.0.2-0

jobs:
test_ubuntu_latest:
tests_ubuntu_22:
runs-on: ubuntu-22.04

strategy:
matrix:
zeek: [{version: 6.0.2-0, tag: -lts}]

env:
ZEEK_VERSION: ${{ matrix.zeek.version }}
ZEEK_TAG: ${{ matrix.zeek.tag }}

steps:
- name: Prepare
run: |
Expand All @@ -19,8 +23,8 @@ jobs:
- name: Install Zeek
run: |
(cd /tmp && curl -L -O https://download.opensuse.org/repositories/security:/zeek/xUbuntu_22.04/amd64/zeek${ZEEK_LTS}_${ZEEK_VERSION}_amd64.deb)
sudo apt install -y /tmp/zeek${ZEEK_LTS}-core_${ZEEK_VERSION}_amd64.deb
(cd /tmp && curl -L -O https://download.zeek.org/binary-packages/xUbuntu_22.04/amd64/zeek${ZEEK_TAG}-core_${ZEEK_VERSION}_amd64.deb)
sudo apt install -y /tmp/zeek${ZEEK_TAG}-core_${ZEEK_VERSION}_amd64.deb
echo "/opt/zeek/bin:$PATH" >> $GITHUB_PATH
- name: Checkout repository
Expand Down

0 comments on commit 8a8e65e

Please sign in to comment.