Skip to content

Commit 86004ab

Browse files
authored
fix: aemo nem12 method flag changes (#10)
### Added * [NEM12 Method flags](./lib/aemo/nem12/quality_method.rb) 22, 23, 24, 25 as per [Metrology Procedure: Part B v7.8 @ 2024-11-04](https://aemo.com.au/-/media/files/electricity/nem/retail_and_metering/market_settlement_and_transfer_solutions/2024/metrology-procedure-part-b-v781-clean.pdf?la=en) ### Changed * [NEM12 Method flags](./lib/aemo/nem12/quality_method.rb) 14, 15, 16, 20 as per [Metrology Procedure: Part B v7.8 @ 2024-11-04](https://aemo.com.au/-/media/files/electricity/nem/retail_and_metering/market_settlement_and_transfer_solutions/2024/metrology-procedure-part-b-v781-clean.pdf?la=en)
1 parent ae94e25 commit 86004ab

38 files changed

+1188
-252
lines changed

.github/workflows/golangci-lint.yml

+13-3
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,26 @@ jobs:
1919
name: 'lint'
2020
strategy:
2121
matrix:
22-
go-version: ["1.17.x"] # linting in 1 go version is enough
22+
go-version: ["1.22.x"] # linting in 1 go version is enough
2323
os: [ubuntu-latest]
2424
runs-on: ${{ matrix.os }}
2525
steps:
2626
- uses: 'actions/checkout@v2'
27+
- uses: 'actions/setup-go@v5'
28+
with:
29+
go-version: stable
30+
- name: ⚙️ Install dependencies
31+
run: |
32+
sudo apt-get update
33+
sudo apt-get install -y
34+
sudo apt-get install libbtrfs-dev -y
35+
sudo apt-get install libgpgme-dev -y
36+
go mod tidy
2737
- name: 'golangci-lint'
28-
uses: 'golangci/golangci-lint-action@v2'
38+
uses: 'golangci/golangci-lint-action@v6'
2939
with:
3040
# Optional: 'version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version'
31-
version: 'v1.43'
41+
version: 'v1.59'
3242

3343
# Optional: 'working directory, useful for monorepos'
3444
# working-directory: 'somedir'

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ jobs:
55
setup:
66
strategy:
77
matrix:
8-
go-version: [1.16.x, 1.17.x]
8+
go-version: [1.20.x, 1.21.x, 1.22.x, 1.23.x]
99
os: [ubuntu-latest, macos-latest, windows-latest]
1010
runs-on: ${{ matrix.os }}
1111
steps:
1212
- name: 'Install Go'
1313
uses: 'actions/setup-go@v2'
1414
with:
15-
go-version: '1.17.x'
15+
go-version: '1.20.x'
1616
- name: 'Checkout code'
1717
uses: 'actions/checkout@v2'
1818
- uses: 'actions/cache@v2'
@@ -34,7 +34,7 @@ jobs:
3434
needs: ['setup']
3535
strategy:
3636
matrix:
37-
go-version: [1.16.x, 1.17.x]
37+
go-version: [1.20.x, 1.21.x, 1.22.x, 1.23.x]
3838
os: [ubuntu-latest, macos-latest, windows-latest]
3939
runs-on: ${{ matrix.os }}
4040
steps:

0 commit comments

Comments
 (0)