Skip to content

Commit

Permalink
Merge pull request #1266 from research-software-directory/go-version-fix
Browse files Browse the repository at this point in the history
chore: update go versions in go.mod, documentation and actions
  • Loading branch information
ewan-escience authored Aug 6, 2024
2 parents c00faed + 522b649 commit e5a8cfc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codemeta_scan_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
go-version: [ '1.22.2' ]
go-version: [ '1.22.5' ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: "Build application with Go"
uses: actions/setup-go@v5
with:
go-version: '1.22.2'
go-version: '1.22.5'
- run: |
go build -v
working-directory: codemeta
Expand Down
2 changes: 1 addition & 1 deletion codemeta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If your instance of the RSD is hosted on https://example.com/, you can access th

## Developing

This module is written in Go, version 1.22.2. You can find the installation instruction [here](https://go.dev/doc/install). If this page lists a newer version than the one we use, you can find all versions [here](https://go.dev/dl/). We currently don't have any external dependencies, except [Pico CSS](https://picocss.com/), which is dynamically linked in the HTML.
This module is written in Go, version 1.22.5. You can find the installation instruction [here](https://go.dev/doc/install). If this page lists a newer version than the one we use, you can find all versions [here](https://go.dev/dl/). We currently don't have any external dependencies, except [Pico CSS](https://picocss.com/), which is dynamically linked in the HTML.

When developing and running it locally, you need a locally running RSD instance, and you should set the `POSTGREST_URL` environment variable to a value at which the PostgREST backend can be reached. This will probably be `http://localhost/api/v1`. You can also point it to a dev or production server instead.

Expand Down
2 changes: 1 addition & 1 deletion codemeta/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

module codemeta

go 1.22.2
go 1.22.5

0 comments on commit e5a8cfc

Please sign in to comment.