Skip to content

Commit

Permalink
Pin Ubuntu 20.04 in GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekn committed Dec 7, 2022
1 parent af77460 commit cea79b6
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
complete:
if: always()
needs: [check, build, test]
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1

check:
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-20.04]
go: [1.19]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -37,7 +37,7 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-20.04]
go: [1.18.6, 1.19]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -55,7 +55,7 @@ jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-20.04]
go: [1.18.6, 1.19]
pg: [9.6.5, 10]
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:

jobs:
golangci:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # version v3.0.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/horizon-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

push-state-diff-image:
name: Push stellar/ledger-state-diff:{sha,latest} to DockerHub
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/horizon-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:

publish-artifacts:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: Upload artifacts to GitHub release
steps:
- name: Run deprecation tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/horizon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Integration tests
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-20.04]
go: [1.18.6, 1.19]
pg: [9.6.5]
ingestion-backend: [db, captive-core, captive-core-remote-storage]
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:

verify-range:
name: Test (and push) verify-range image
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
STELLAR_CORE_VERSION: 19.5.0-1108.ca2fb0605.focal
CAPTIVE_CORE_STORAGE_PATH: /tmp
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/soroban-rpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Integration tests
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-20.04]
go: [1.19.1]
runs-on: ${{ matrix.os }}
env:
Expand Down

0 comments on commit cea79b6

Please sign in to comment.