From 0b61da64683de2e95111ef60a2b6e8bf774dead1 Mon Sep 17 00:00:00 2001 From: Gonzalo Diaz Date: Tue, 10 Dec 2024 10:32:39 -0300 Subject: [PATCH] [CONFIG] [Github Actions] Now use fixed version of Github Actions images. --- .github/workflows/docker-image.yml | 10 +++++----- .github/workflows/gitleaks.yml | 2 +- .github/workflows/go-coverage.yml | 2 +- .github/workflows/go.yml | 6 +----- .github/workflows/markdown-lint.yml | 4 ++-- .github/workflows/snyk-code.yml | 2 +- .github/workflows/yamllint.yml | 2 +- 7 files changed, 12 insertions(+), 16 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 4b797c9..6eb031e 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -18,7 +18,7 @@ jobs: build: name: "Build Docker images" - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 @@ -73,7 +73,7 @@ jobs: lint: name: "Run in docker: LINT" - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: build steps: - name: Download artifact @@ -93,7 +93,7 @@ jobs: test: name: "Run in docker: TEST" - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: build steps: - name: Download artifact @@ -113,7 +113,7 @@ jobs: security: name: "Snyk Container" - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: build permissions: actions: read @@ -160,7 +160,7 @@ jobs: sarif_file: 'snyk.sarif' scan: name: "Trivy" - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: build permissions: actions: read diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.yml index 0870c98..914e00c 100644 --- a/.github/workflows/gitleaks.yml +++ b/.github/workflows/gitleaks.yml @@ -20,7 +20,7 @@ on: # yamllint disable-line rule:truthy jobs: scan: name: gitleaks - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/go-coverage.yml b/.github/workflows/go-coverage.yml index 5234bb0..4280d15 100644 --- a/.github/workflows/go-coverage.yml +++ b/.github/workflows/go-coverage.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-latest"] + os: ["ubuntu-24.04"] go: ["1.23.x"] runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 4da0883..fcb961e 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -20,11 +20,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ - "windows-latest", - "ubuntu-latest", - "macOS-latest" - ] + os: ["windows-2022", "ubuntu-24.04", "macos-14"] go: ["1.21.x", "1.22.x", "1.23.x"] runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/markdown-lint.yml b/.github/workflows/markdown-lint.yml index 8bf0539..dfb74a9 100644 --- a/.github/workflows/markdown-lint.yml +++ b/.github/workflows/markdown-lint.yml @@ -13,11 +13,11 @@ on: # yamllint disable-line rule:truthy jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: matrix: - os: ["ubuntu-latest"] + os: ["ubuntu-24.04"] node-version: [20.x] # See supported Node.js release # schedule at https://nodejs.org/en/about/releases/ diff --git a/.github/workflows/snyk-code.yml b/.github/workflows/snyk-code.yml index bd4d53f..971e806 100644 --- a/.github/workflows/snyk-code.yml +++ b/.github/workflows/snyk-code.yml @@ -12,7 +12,7 @@ on: # yamllint disable-line rule:truthy jobs: security: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: actions: read contents: read diff --git a/.github/workflows/yamllint.yml b/.github/workflows/yamllint.yml index 293de31..2141c43 100644 --- a/.github/workflows/yamllint.yml +++ b/.github/workflows/yamllint.yml @@ -11,7 +11,7 @@ on: # yamllint disable-line rule:truthy jobs: lint: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4