diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index dcf4893..1125ba7 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -6,15 +6,12 @@ on: types: [opened, synchronize, reopened] -env: - GOLANG_VERSION: 1.21 - jobs: scans: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 @@ -28,14 +25,14 @@ jobs: golang: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - - name: Setup golang ${{ env.GOLANG_VERSION }} + - name: Setup golang uses: actions/setup-go@v5 with: - go-version: ${{ env.GOLANG_VERSION }} + go-version-file: go.mod - name: install tools run: make tools-get diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e71a1bb..02d0b1e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Release uses: codfish/semantic-release-action@v3.5.0 env: diff --git a/.gitignore b/.gitignore index cde0123..ad67566 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ dist/ +.idea \ No newline at end of file diff --git a/go.mod b/go.mod index 1d89e5b..a72044e 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/code-gorilla-au/env -go 1.21.5 +go 1.25.0 require github.com/joho/godotenv v1.5.1