Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrades and updates #178

Merged
merged 20 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ jobs:
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: '1.23'
go-version-file: 'go.mod'
id: go

- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
name: Build
runs-on: macos-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: '1.23'
go-version-file: 'go.mod'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Build Test
run: |
make azurelustre-darwin
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/external_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
#runs-on: ubuntu-latest
#container: ubuntu:18.04
#steps:
#- name: Check out code into the Go module directory
#uses: actions/checkout@v4
#- name: Set up Go 1.x
##uses: actions/setup-go@v2
##uses: actions/setup-go@v5
#with:
#go-version: '1.23'
#go-version-file: 'go.mod'
#id: go
#- name: Check out code into the Go module directory
#uses: actions/checkout@v2
#- name: Install CA and curl
#run: |
#apt update -y
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/integration_test_aks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
#name: Run Integration Test on AKS
#runs-on: ubuntu-latest
#steps:
#- name: Set up Go 1.x
#uses: actions/setup-go@v2
#with:
#go-version: '1.23'
#id: go
#- name: Check out code
#uses: actions/checkout@v2
#uses: actions/checkout@v4
#with:
#ref: ${{ github.event.pull_request.head.sha }}
#- name: Set up Go 1.x
#uses: actions/setup-go@v5
#with:
#go-version-file: 'go.mod'
#id: go
#- name: Build Code
#run: |
#make azurelustre
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: '1.23'
go-version-file: 'go.mod'
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Run unit test
run: |

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/long_haul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Azure Login
uses: Azure/[email protected]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sanity_test_local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
name: Run Sanity Test Local
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: '1.23'
go-version-file: 'go.mod'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run Sanity Test
run: make sanity-test-local
6 changes: 3 additions & 3 deletions .github/workflows/static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
name: Go Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.23'
- name: Checkout code
uses: actions/checkout@master
go-version-file: 'go.mod'
- name: Run linter
uses: golangci/golangci-lint-action@v6
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.23'

- name: Checkout code
uses: actions/checkout@v4


- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'

- name: Build an image from Dockerfile
run: |
export PUBLISH=true
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,15 @@ name: Windows Tests

jobs:
build:
strategy:
matrix:
go-versions: [1.17.x]
platform: [windows-latest]
runs-on: ${{ matrix.platform }}
name: Build
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v1
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
go-version-file: 'go.mod'
- name: Build Test
run: |
make azurelustre-windows
Expand Down
Loading